videoplayback/videoplaybackview/tsrc/testvideodisplayhandler/stub/inc/mpxvideoviewwrapper.h
changeset 50 21fe8338c6bf
parent 44 518105d52e45
child 66 adb51f74b890
equal deleted inserted replaced
49:824471cb468a 50:21fe8338c6bf
    13 *
    13 *
    14 * Description:  MPX Video base playback view
    14 * Description:  MPX Video base playback view
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version:  3 %
    18 // Version : %version:  4 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 // This file defines the API for .dll
    22 // This file defines the API for .dll
    23 
    23 
    46     public:
    46     public:
    47         static CMPXVideoViewWrapper* NewL( VideoBasePlaybackView* aView );
    47         static CMPXVideoViewWrapper* NewL( VideoBasePlaybackView* aView );
    48         virtual ~CMPXVideoViewWrapper();
    48         virtual ~CMPXVideoViewWrapper();
    49 
    49 
    50     private:
    50     private:
    51         CMPXVideoViewWrapper( VideoBasePlaybackView* aView );        
    51         CMPXVideoViewWrapper( VideoBasePlaybackView* aView );
    52         void ConstructL();
    52         void ConstructL();
    53         
    53 
    54         void SetFileDetails(TBool aDefault);
    54         void SetFileDetails(TBool aDefault);
    55 
    55 
    56     public:
    56     public:
    57         void HandleCommandL( TInt aCommand );
    57         void HandleCommandL( TInt aCommand );
    58                              
    58 
    59         TBool IsLive();
    59         TBool IsLive();
    60         
    60 
    61         TBool IsPlaylist();
    61         TBool IsPlaylist();
    62         
    62 
    63         TBool IsMultiItemPlaylist();
    63         TBool IsMultiItemPlaylist();
    64                
    64 
    65         void RequestMediaL();  
    65         void RequestMediaL();
    66         
    66 
    67         void CreateGeneralPlaybackCommandL( int aCmd );
    67         void CreateGeneralPlaybackCommandL( int aCmd );
    68                 
    68 
    69         void ActivateClosePlayerActiveObject();
    69         void ActivateClosePlayerActiveObject();
    70         
    70 
    71         void IssueVideoAppForegroundCmdL( TBool aForeground );
    71         void IssueVideoAppForegroundCmdL( TBool aForeground );
    72         
    72 
    73         void UpdateVideoRectDone();
    73         void UpdateVideoRectDone();
    74 
    74 
       
    75         void SurfacedAttached( TBool aAttached );
    75 
    76 
    76     public: // data
    77     public: // data
    77 
    78 
    78         VideoBasePlaybackView*             iView;
    79         VideoBasePlaybackView*        iView;
    79         TBool                                iMediaRequested;
    80         VideoPlaybackViewFileDetails* iFileDetails;
    80         VideoPlaybackViewFileDetails*    iFileDetails;
    81         TBool                         iMediaRequested;
    81         TBool                                iClosePlayerAO;
    82         TBool                         iClosePlayerAO;
    82         TBool                                iForeground;
    83         TBool                         iForeground;
    83         
    84         TBool                         iAttatched;
    84 };
    85 };
    85 
    86 
    86 #endif  // __MPXVIDEOVIEWWRAPPER_H__
    87 #endif  // __MPXVIDEOVIEWWRAPPER_H__
    87 
    88 
    88 // EOF
    89 // EOF