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 |