videoplayback/videoplaybackview/viewinc/mpxvideoviewwrapper.h
changeset 50 21fe8338c6bf
parent 49 824471cb468a
child 55 4bfa887905cf
--- a/videoplayback/videoplaybackview/viewinc/mpxvideoviewwrapper.h	Fri Jul 23 11:10:06 2010 +0300
+++ b/videoplayback/videoplaybackview/viewinc/mpxvideoviewwrapper.h	Fri Aug 06 09:43:48 2010 +0300
@@ -15,7 +15,7 @@
 *
 */
 
-// Version : %version:  da1mmcf#21 %
+// Version : %version:  da1mmcf#23 %
 
 
 
@@ -168,18 +168,12 @@
 
         TBool IsPlaylist();
 
-        void IssueVideoAppForegroundCmdL(TBool aForeground);
+        void IssueVideoAppForegroundCmdL( TBool aViewForeground, TBool aAppForegournd );
 
         void RequestMediaL();
 
         void CreateGeneralPlaybackCommandL( TMPXPlaybackCommand aCmd, TBool aDoSync = ETrue );
 
-        TBool IsAppInFrontL();
-
-        /*
-         *  Activates an active object to close the player
-         *  @since 5.0
-         */
         void ActivateClosePlayerActiveObject();
 
         void CreateControlsL();
@@ -213,9 +207,11 @@
         void DoClosePlayer();
 
         void HandleVideoPlaybackMessage( CMPXMessage* aMessage );
-        
+
         TBool IsResumingPlaybackAfterTermination();
 
+        void SurfacedAttached( TBool aAttached );
+
     private:
 
         /**
@@ -265,9 +261,9 @@
         TBool IsInMemoryPlugin();
 
         void UpdatePbPluginMediaL( TBool aSeek );
-        
+
         TInt GetMediaId();
-        
+
     protected: // data
         MMPXPlaybackUtility*                 iPlaybackUtility;
         MMPXCollectionUtility*               iCollectionUtility;
@@ -285,9 +281,9 @@
         TBool                                iCollectionMediaRequested;
         TBool                                iPlaylistView;
         int                                  iPlayPosition;
-        
+
     public:
-        friend class VideoBasePlaybackView;        
+        friend class VideoBasePlaybackView;
 };
 
 #endif  // __MPXVIDEOVIEWWRAPPER_H__