videoplayback/hbvideoplaybackview/viewinc/mpxvideoviewwrapper.h
changeset 39 f6d44a0cd476
parent 35 3738fe97f027
child 41 229f037ce963
--- a/videoplayback/hbvideoplaybackview/viewinc/mpxvideoviewwrapper.h	Fri May 14 15:14:51 2010 +0300
+++ b/videoplayback/hbvideoplaybackview/viewinc/mpxvideoviewwrapper.h	Fri May 28 09:45:19 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__