videoplayerapp/inc/videoplayerengine.h
changeset 36 8aed59de29f9
parent 35 3738fe97f027
child 38 ff53afa8ad05
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
    13 *
    13 *
    14 * Description:  Implementation of QVideoPlayerEngine
    14 * Description:  Implementation of QVideoPlayerEngine
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: ou1cpsw#10 %
    18 // Version : %version: 12 %
    19 
    19 
    20 #ifndef VIDEOPLAYERENGINE_H
    20 #ifndef VIDEOPLAYERENGINE_H
    21 #define VIDEOPLAYERENGINE_H
    21 #define VIDEOPLAYERENGINE_H
    22 
    22 
    23 #include <qobject.h>
    23 #include <qobject.h>
    24 #include <mpxviewpluginqt.h>
    24 #include <mpxviewpluginqt.h>
       
    25 
       
    26 #include <f32file.h>
    25 
    27 
    26 #include "mpxhbvideocommondefs.h"
    28 #include "mpxhbvideocommondefs.h"
    27 #include "videoplayerappexport.h"
    29 #include "videoplayerappexport.h"
    28 
    30 
    29 //FORWARD CLASS DECLARATION
    31 //FORWARD CLASS DECLARATION
    52         virtual ~QVideoPlayerEngine();
    54         virtual ~QVideoPlayerEngine();
    53     
    55     
    54     public:
    56     public:
    55         void initialize();
    57         void initialize();
    56         void playMedia( QString filePath );
    58         void playMedia( QString filePath );
       
    59         void playMedia( RFile file );
    57         void setEmbedded();
    60         void setEmbedded();
    58 
    61 
    59     public slots:
    62     public slots:
    60         void handleCommand( int commandCode );
    63         void handleCommand( int commandCode );
    61 
    64 
    68         void connectView();
    71         void connectView();
    69         void disconnectView();
    72         void disconnectView();
    70     
    73     
    71         void switchView();    
    74         void switchView();    
    72     
    75     
    73         void loadPlugin( MpxHbVideoCommon::MpxHbVideoViewType viewType );
    76         void loadPluginAndCreateView( MpxHbVideoCommon::MpxHbVideoViewType viewType );
    74         
    77         
    75         void doDelayedLoad();
    78         void doDelayedLoad();
       
    79         
       
    80         void createPlayAndDetailsViews();
       
    81         
       
    82         void setCurrentView();
    76 
    83 
    77     private:
    84     private:
    78         bool                      mIsService;
    85         bool                      mIsService;
    79         bool                      mEmbedded;
    86         bool                      mEmbedded;
    80         bool					  mDelayedLoadDone;
    87         bool					  mDelayedLoadDone;