Gnash
0.8.10
|
Built-in forms of communication with the host application. More...
#include <HostInterface.h>
Public Types | |
enum | KnownEvent { SHOW_MOUSE, RESIZE_STAGE, UPDATE_STAGE, SHOW_MENU, SET_DISPLAYSTATE, SET_CLIPBOARD, SCREEN_RESOLUTION, SCREEN_DPI, PIXEL_ASPECT_RATIO, PLAYER_TYPE, SCREEN_COLOR, NOTIFY_ERROR, QUERY, EXTERNALINTERFACE_ISPLAYING, EXTERNALINTERFACE_PAN, EXTERNALINTERFACE_PLAY, EXTERNALINTERFACE_REWIND, EXTERNALINTERFACE_SETZOOMRECT, EXTERNALINTERFACE_STOPPLAY, EXTERNALINTERFACE_ZOOM } |
The messages that a hosting application should handle. More... | |
Public Member Functions | |
HostMessage (KnownEvent e, const boost::any &arg=boost::blank()) | |
KnownEvent | event () const |
const boost::any & | arg () const |
Built-in forms of communication with the host application.
These messages should be supported for ActionScript compatibility.
The messages that a hosting application should handle.
SHOW_MOUSE |
Whether to display a mouse pointer
|
RESIZE_STAGE |
Resize the stage
|
UPDATE_STAGE |
Update the stage
|
SHOW_MENU |
Whether to show the menu or not
|
SET_DISPLAYSTATE |
Whether to show in fullscreen or not
|
SET_CLIPBOARD |
Set system clipboard
|
SCREEN_RESOLUTION |
Get screen resolution
|
SCREEN_DPI |
Get screen DPI.
|
PIXEL_ASPECT_RATIO |
Get pixel aspect ratio
|
PLAYER_TYPE |
Get player type
|
SCREEN_COLOR |
Get screen color
|
NOTIFY_ERROR |
Notify an error
|
QUERY |
Ask a question
|
EXTERNALINTERFACE_ISPLAYING |
|
EXTERNALINTERFACE_PAN | |
EXTERNALINTERFACE_PLAY | |
EXTERNALINTERFACE_REWIND | |
EXTERNALINTERFACE_SETZOOMRECT | |
EXTERNALINTERFACE_STOPPLAY | |
EXTERNALINTERFACE_ZOOM |
gnash::HostMessage::HostMessage | ( | KnownEvent | e, |
const boost::any & | arg = boost::blank() |
||
) | [inline, explicit] |
const boost::any& gnash::HostMessage::arg | ( | ) | const [inline] |
KnownEvent gnash::HostMessage::event | ( | ) | const [inline] |
Referenced by gnash::operator<<().