videoplayerapp/inc/videoplayerengine.h
branchGCC_SURGE
changeset 48 ebbeb6bcda56
parent 46 adbe7d5ba2f5
child 52 e3cecb93e76a
equal deleted inserted replaced
27:7bf7319dbddd 48:ebbeb6bcda56
    13 *
    13 *
    14 * Description:  Implementation of QVideoPlayerEngine
    14 * Description:  Implementation of QVideoPlayerEngine
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 12 %
    18 // Version : %version: ou1cpsw#15 %
    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>
    75     
    75     
    76         void loadPluginAndCreateView( MpxHbVideoCommon::MpxHbVideoViewType viewType );
    76         void loadPluginAndCreateView( MpxHbVideoCommon::MpxHbVideoViewType viewType );
    77         
    77         
    78         void doDelayedLoad();
    78         void doDelayedLoad();
    79         
    79         
    80         void createPlayAndDetailsViews();
    80         void createMissingViews();
       
    81         
       
    82         void createPlaybackView();
    81         
    83         
    82         void setCurrentView();
    84         void setCurrentView();
       
    85         
       
    86         bool isPlayServiceInvoked();  
       
    87         
       
    88         bool shouldExit();
       
    89         
       
    90         bool shouldActivateCollectionView();
    83 
    91 
    84     private:
    92     private:
    85         bool                      mIsService;
    93         bool                      mIsService;
    86         bool                      mEmbedded;
    94         bool                      mEmbedded;
    87         bool					  mDelayedLoadDone;
    95         bool					  mDelayedLoadDone;
       
    96         bool                      mIsPlayService;
    88 
    97 
    89         MpxViewPlugin*            mCurrentViewPlugin;
    98         MpxViewPlugin*            mCurrentViewPlugin;
    90         MpxViewPlugin*            mPlaybackViewPlugin; 
    99         MpxViewPlugin*            mPlaybackViewPlugin; 
    91         MpxViewPlugin*            mCollectionViewPlugin; 
   100         MpxViewPlugin*            mCollectionViewPlugin; 
    92         MpxViewPlugin*            mFileDetailsViewPlugin;
   101         MpxViewPlugin*            mFileDetailsViewPlugin;