videoplayerapp/videoplayerengine/inc/mpxvideoplayerappuiengine.h
changeset 36 8aed59de29f9
parent 35 3738fe97f027
child 44 518105d52e45
--- a/videoplayerapp/videoplayerengine/inc/mpxvideoplayerappuiengine.h	Thu Apr 01 23:32:44 2010 +0300
+++ b/videoplayerapp/videoplayerengine/inc/mpxvideoplayerappuiengine.h	Fri Apr 16 18:13:14 2010 +0300
@@ -15,7 +15,7 @@
  *
 */
 
-// Version : %version:  4 %
+// Version : %version:  5 %
 
 
 
@@ -34,10 +34,8 @@
 #include <mpxcollectionobserver.h>
 #include <mpxcollectionuihelperobserver.h>
 
-class CMpxVideoEmbeddedPdlHandler;
 class CMPXCommonUiHelper;
 class MMPXCollectionUiHelper;
-class CAiwGenericParamList;
 class CVideoPlaylistUtility;
 class QMpxVideoPlaybackWrapper;
 
@@ -71,16 +69,15 @@
          * Opens the specified file in response to a corresponding message.
          *
          * @param aFile File to be opened.
-         * @param aParams aiw generic parameters for the file
          */
-        void OpenFileL( RFile& aFile, const CAiwGenericParamList* aParams );
-
+        void OpenFileL( const TDesC& aFileName );
+        
         /**
          * Opens the specified file in response to a corresponding message.
          *
          * @param aFile File to be opened.
-         */
-        void OpenFileL( const TDesC& aFileName );
+         */        
+        void OpenFileL( RFile& aFile );
 
         /**
          * Opens the specified mpx media object.
@@ -107,32 +104,10 @@
         void PrepareCloseMpxL();
 
         /**
-         * Sets AppUiEngine in stand alone "mode"
-         */
-        void StartStandAloneL();
-
-        /**
          * Handle media properties.
          */
         void DoHandelCollectionMediaL( const CMPXMedia& aMedia );
 
-        /**
-         * Steps one level up in collection path
-         */
-        void StepBackCollectionPathL();
-
-        /**
-         * Initialize the playback engine with a collection path
-         * @param aPath The collection path to create the playlist from
-         */
-        void InitPlaybackEngineL( CMPXCollectionPath& aPath );
-
-        /**
-         * Process activation message.
-         * @param aMsg reference to activation message
-         */
-        void ProcessActivationMessageL( const TDesC8 &aMsg );
-
         /*
          * Handle embedded playback message
          * @param aMessageUid message identification uid
@@ -218,34 +193,7 @@
             * @param aCategory Type of item to be opened.
             */
         void HandleEmbeddedOpenL( TInt aErr, TMPXGeneralCategory aCategory  );
-
-        void CreateEmbeddedPdlPlaybackUtilityMemberVariablesL();
-
-        /*
-         * Handles the "back" button.
-         */
-        void HandleSoftKeyBackL();
-
-        /*
-         *  Processes shell commands.
-         *  @param aCommand
-         *  @param aDocumentName
-         *  @param aTail
-         *  @return  ETrue if document name exists
-         */
-        TBool ProcessCommandParametersL( TApaCommand aCommand,
-                                         TFileName& aDocumentName,
-                                         const TDesC8& aTail );
-
-        /*
-         *  Provides the static function for the callback to exit the application
-         *  Called by CIdle iIdle
-         *  @since 9.2
-         *  @param aPtr Pointer to callback class
-         *  @return KErrNone
-         */
-        static TInt ExitApplicationL( TAny* aPtr );
-        
+       
         /*
          *  Late initializatoin of members that can be delayed 
          *  to help improve startup time
@@ -282,38 +230,17 @@
          */
         void HandleUrlDesL(const TDesC& aUrl);
 
-        TPtrC GetLinkLC( const TDesC& aFileName,
-                         CMediaRecognizer::TMediaType aMediaType,
-                         TBool aUseFileHandle = EFalse );
-
-        TInt HandleAiwGenericParamListL( const CAiwGenericParamList* aParams );
-
-        /**
-        * Handle collection message
-        *
-        * @param aMessage collection message
-        */
+       /**
+       * Handle collection message
+       *
+       * @param aMessage collection message
+       */
        void DoHandleCollectionMessageL( CMPXMessage* aMessage );
 
-       void CreatePlaybackUtilityMemberVariablesL();
+       void CreatePlaybackUtilityL();
 
        void CreateCollectionUtilityMemberVariablesL();
-
-       void CreateRemoteControlListenerL();
-
-       /*
-        *  Activates an active object to exit the application
-        *  @since 5.0
-        */
-       void ActivateExitActiveObject();
-
-       /*
-        *  Called to stop and exit the application
-        *  @since 9.2
-        *  @return void
-        */
-       virtual void DoExitApplicationL();
-       
+      
 	   /*
 	   * used to send media info to plugin
 	   */
@@ -327,15 +254,12 @@
         //  Owned Utilities
         //
         MMPXPlaybackUtility*     iPlaybackUtility;
-        //Do we need this?  MMPXViewUtility*         iViewUtility;
         MMPXCollectionUtility*   iCollectionUtility;
         MMPXCollectionUiHelper*  iCollectionUiHelper;  // own
 
         TUid iVideoCollectionId;
 
-        CIdle*                        iExitAo;
         CMediaRecognizer*             iRecognizer;       // own
-        CMpxVideoEmbeddedPdlHandler*  iPdlHandler;       // own
 
         TInt                     iAccessPointId;
         TBool                    iMultilinkPlaylist;