Gnash
0.8.11dev
|
Abstract base class for hosting app handler. More...
#include <HostInterface.h>
Inherited by EventCallback.
Public Types | |
typedef boost::variant< HostMessage, CustomMessage > | Message |
Public Member Functions | |
virtual | ~HostInterface () |
virtual boost::any | call (const Message &e)=0 |
Pass a message to the hosting application with an optional return. More... | |
virtual void | exit ()=0 |
Instruct the hosting application to exit. More... | |
Abstract base class for hosting app handler.
typedef boost::variant<HostMessage, CustomMessage> gnash::HostInterface::Message |
|
inlinevirtual |
|
pure virtual |
Pass a message to the hosting application with an optional return.
The core library should access this function through movie_root::callInterface() or movie_root::callInterface<>()
e | The message to pass |
Referenced by gnash::movie_root::callInterface(), and gnash::movie_root::setLevel().
|
pure virtual |
Instruct the hosting application to exit.
The hosting application may ignore this: do not rely on it to exit the program.
Referenced by gnash::movie_root::processInvoke().