diff -r 7d93ee07fb27 -r c48470be1ba7 videoplayback/hbvideoplaybackview/viewinc/mpxvideoviewwrapper.h --- a/videoplayback/hbvideoplaybackview/viewinc/mpxvideoviewwrapper.h Thu May 27 12:53:14 2010 +0300 +++ b/videoplayback/hbvideoplaybackview/viewinc/mpxvideoviewwrapper.h Fri Jun 11 13:39:54 2010 +0300 @@ -15,7 +15,7 @@ * */ -// Version : %version: da1mmcf#12 % +// Version : %version: da1mmcf#14 % @@ -35,7 +35,12 @@ #include "mpxvideoplaybackcontrol.hrh" -// Constants +enum TMPXMediaRequestStatus +{ + MediaNotRequested, + MediaRequested, + MediaDelivered +}; // Forward Declarations class MMPXPlaybackUtility; @@ -167,7 +172,7 @@ void RequestMediaL(); - void CreateGeneralPlaybackCommandL( TMPXPlaybackCommand aCmd ); + void CreateGeneralPlaybackCommandL( TMPXPlaybackCommand aCmd, TBool aDoSync = ETrue ); TBool IsAppInFrontL(); @@ -191,9 +196,6 @@ void HandleBufferingStateL(); - void IssuePlayCommandL(); - - /* * Provides the static function for the callback to close the player * Called by CIdle iIdle @@ -252,6 +254,8 @@ void HandleShortPressBackwardL(); + void IssuePlayCommandL(); + protected: // data MMPXPlaybackUtility* iPlaybackUtility; MMPXCollectionUtility* iCollectionUtility; @@ -265,8 +269,8 @@ CMPXVideoPlaybackUserInputHandler* iUserInputHandler; QMPXVideoPlaybackControlsController* iControlsController; - TBool iMediaRequested; - TBool iPlaylistView; + TMPXMediaRequestStatus iMediaRequestStatus; + TBool iPlaylistView; }; #endif // __MPXVIDEOVIEWWRAPPER_H__