diff options
Diffstat (limited to 'NxWidgets/nxwm/include/cmediaplayer.hxx')
-rw-r--r-- | NxWidgets/nxwm/include/cmediaplayer.hxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/NxWidgets/nxwm/include/cmediaplayer.hxx b/NxWidgets/nxwm/include/cmediaplayer.hxx index 4f664d8e5..1b9b98a66 100644 --- a/NxWidgets/nxwm/include/cmediaplayer.hxx +++ b/NxWidgets/nxwm/include/cmediaplayer.hxx @@ -89,9 +89,10 @@ namespace NxWM * | FILE | FILE | | | FAST | | * STATE | SELECTED |DESELECTED| PLAY | PAUSE | FORWARD | REWIND | * ---------+----------+----------+----------+----------+----------+----------+ - * STOPPED | PAUSED | X | X | X | X | X | - * PAUSED | PAUSED | STOPPED | PLAYING | X |FFORWARD1 | REWIND1 | + * STOPPED | STAGED | X | X | X | X | X | + * STAGED | STAGED | STOPPED | PLAYING | X | X | X | * PLAYING | X | X | X | PAUSED |FFORWARD2 | REWIND2 | + * PAUSED | STAGED | STOPPED | PLAYING | X |FFORWARD1 | REWIND1 | * FFORWARD1| X | X | PAUSED | X | PAUSED | REWIND1 | * REWIND1 | X | X | PAUSED | X |FFORWARD1 | PAUSED | * FFORWARD2| X | X | X | PLAYING | PLAYING | REWIND1 | @@ -112,12 +113,19 @@ namespace NxWM enum EMediaPlayerState { MPLAYER_STOPPED = 0, /**< No media file has been selected */ + MPLAYER_STAGED, /**< Media file selected, not playing */ MPLAYER_PLAYING, /**< Playing a media file */ MPLAYER_PAUSED, /**< Playing a media file but paused */ MPLAYER_FFORWARD, /**< Fast forwarding through a media file */ MPLAYER_FREWIND, /**< Rewinding a media file */ }; + /** + * Describes the state of an image touch. Some image touch cannot be + * processed until the image contact is lost. This enumeration arms and + * manages those cases. + */ + enum EPendingRelease { PENDING_NONE = 0, /**< Nothing is pending */ |