Gnash
0.8.11dev
|
Event code. More...
#include <ExecutableCode.h>
Public Types | |
typedef std::vector< const action_buffer * > | BufferList |
Public Member Functions | |
EventCode (DisplayObject *nTarget) | |
EventCode (DisplayObject *nTarget, BufferList buffers) | |
void | addAction (const action_buffer &buffer) |
Add an action buffer to this event handler. More... | |
virtual void | execute () |
![]() | |
ExecutableCode (DisplayObject *t) | |
virtual | ~ExecutableCode () |
virtual void | setReachable () const |
void | markReachableResources () const |
Mark reachable resources (for the GC) More... | |
DisplayObject * | target () const |
Event code.
typedef std::vector<const action_buffer*> gnash::EventCode::BufferList |
|
inline |
|
inline |
|
inline |
Add an action buffer to this event handler.
buffer | An action buffer to execute. Externally owned and not copied, so make sure it's kept alive for the whole EventCode lifetime. |
References gnash::ExecutableCode::target().
|
inlinevirtual |
Implements gnash::ExecutableCode.
References gnash::getVM(), and gnash::ExecutableCode::target().