videoplayerapp/videoplayerengine/inc/mpxvideoplayerappuiengine.h
changeset 52 e3cecb93e76a
parent 17 69946d1824c4
--- a/videoplayerapp/videoplayerengine/inc/mpxvideoplayerappuiengine.h	Tue Jul 06 14:17:50 2010 +0300
+++ b/videoplayerapp/videoplayerengine/inc/mpxvideoplayerappuiengine.h	Wed Aug 18 09:50:14 2010 +0300
@@ -15,7 +15,7 @@
  *
 */
 
-// Version : %version:  5 %
+// Version : %version:  8 %
 
 
 
@@ -37,7 +37,7 @@
 class CMPXCommonUiHelper;
 class MMPXCollectionUiHelper;
 class CVideoPlaylistUtility;
-class QMpxVideoPlaybackWrapper;
+class VideoPlaybackWrapper;
 
 /**
 *  Application UI class.
@@ -52,7 +52,7 @@
                                    public MMPXCHelperEmbeddedOpenObserver
 {
     public:        // Constructors and destructor
-        static CMpxVideoPlayerAppUiEngine* NewL( QMpxVideoPlaybackWrapper* aWrapper );
+        static CMpxVideoPlayerAppUiEngine* NewL( VideoPlaybackWrapper* aWrapper );
 
         /**
         * Destructor.
@@ -200,12 +200,21 @@
          *  @since 10.1
          */        
         void LateInitL();
+        
+        TInt ReplayAfterPriorTermination(const TDesC& aFileName);
+        
+        /*
+         *  converts provided error code to a string  
+         *  @since 10.1
+         *  @param aErrorCode error code to be converted
+         */          
+        const TDesC& ResolveErrorStringL(TInt aErrorCode);
 
     private:
         /**
          * Constructor
          */
-        CMpxVideoPlayerAppUiEngine( QMpxVideoPlaybackWrapper* aWrapper );
+        CMpxVideoPlayerAppUiEngine( VideoPlaybackWrapper* aWrapper );
 
         /**
          * By default Symbian 2nd phase constructor is private.
@@ -247,6 +256,8 @@
        void UpdatePbPluginMediaL();
 
        void ActivateVideoPlaybackView();
+              
+       void ReadActivityData();
 
     private:       // data
 
@@ -257,16 +268,17 @@
         MMPXCollectionUtility*   iCollectionUtility;
         MMPXCollectionUiHelper*  iCollectionUiHelper;  // own
 
-        TUid iVideoCollectionId;
+        TUid                     iVideoCollectionId;
 
-        CMediaRecognizer*             iRecognizer;       // own
+        CMediaRecognizer*        iRecognizer;       // own
 
         TInt                     iAccessPointId;
         TBool                    iMultilinkPlaylist;
         TBool                    iSeekable;
         TBool                    iUpdateSeekInfo;
 
-        QMpxVideoPlaybackWrapper* iPlaybackWrapper;
+        VideoPlaybackWrapper*    iPlaybackWrapper;
+        TUint32                  iLastPlayedItemId;
 };
 
 //