videoplayback/hbvideoplaybackview/viewinc/mpxvideoviewwrapper.h
changeset 41 229f037ce963
parent 39 f6d44a0cd476
--- a/videoplayback/hbvideoplaybackview/viewinc/mpxvideoviewwrapper.h	Fri Jun 11 09:44:20 2010 +0300
+++ b/videoplayback/hbvideoplaybackview/viewinc/mpxvideoviewwrapper.h	Thu Jun 24 09:49:13 2010 +0300
@@ -15,7 +15,7 @@
 *
 */
 
-// Version : %version:  da1mmcf#14 %
+// Version : %version:  da1mmcf#16 %
 
 
 
@@ -64,14 +64,14 @@
         virtual ~CMPXVideoViewWrapper();
 
     private:
-        CMPXVideoViewWrapper( HbVideoBasePlaybackView* aView );        
+        CMPXVideoViewWrapper( HbVideoBasePlaybackView* aView );
         void ConstructL();
 
     public:
         virtual void HandleCommandL( TInt aCommand );
 
         void RetrieveFileNameAndModeL( CMPXCommand* aCmd );
-        
+
         /*
          *  From MMPXViewActivationObserver
          *  Handle view activation.
@@ -80,7 +80,7 @@
          *  @param aPreviousViewType Previous view type Uid.
          */
         inline void HandleViewActivation( const TUid& /*aCurrentViewType*/,
-                                          const TUid& /*aPreviousViewType*/ ) {}        
+                                          const TUid& /*aPreviousViewType*/ ) {}
 
         /**
         * From MMPXPlaybackObserver
@@ -163,19 +163,19 @@
         */
         void SetPropertyL( TMPXPlaybackProperty aProperty, TInt aValue );
         virtual void RetrievePdlInformationL();
-                     
+
         TBool IsLive();
-        
+
         TBool IsPlaylist();
-       
-        void IssueVideoAppForegroundCmdL(TBool aForeground);        
-        
-        void RequestMediaL();  
-        
+
+        void IssueVideoAppForegroundCmdL(TBool aForeground);
+
+        void RequestMediaL();
+
         void CreateGeneralPlaybackCommandL( TMPXPlaybackCommand aCmd, TBool aDoSync = ETrue );
-        
+
         TBool IsAppInFrontL();
-        
+
         /*
          *  Activates an active object to close the player
          *  @since 5.0
@@ -203,14 +203,14 @@
          *  @param aPtr Pointer to callback class
          *  @return KErrNone
          */
-        static TInt ClosePlayerL( TAny* aPtr );
+        static TInt ClosePlayer( TAny* aPtr );
 
         /*
          *  Called to stop and exit the player
          *  @since 3.2
          *  @return void
          */
-        void DoClosePlayerL();
+        void DoClosePlayer();
 
         void HandleVideoPlaybackMessage( CMPXMessage* aMessage );
 
@@ -248,7 +248,7 @@
 
         void HandleGeneralPlaybackMessageL( CMPXMessage* aMessage );
 
-        void SetAspectRatioL( TMPXVideoPlaybackCommand aCmd );        
+        void SetAspectRatioL( TMPXVideoPlaybackCommand aCmd );
 
         void HandleVolumeCmdL( TMPXPlaybackCommand aCmd );
 
@@ -268,9 +268,13 @@
         CMPXVideoPlaybackDisplayHandler*     iDisplayHandler;
         CMPXVideoPlaybackUserInputHandler*   iUserInputHandler;
         QMPXVideoPlaybackControlsController* iControlsController;
-        
+
         TMPXMediaRequestStatus               iMediaRequestStatus;
         TBool                                iPlaylistView;
+        int                                  iPlayPosition;
+        
+    public:
+        friend class HbVideoBasePlaybackView;        
 };
 
 #endif  // __MPXVIDEOVIEWWRAPPER_H__