45 { |
45 { |
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 CMPXVideoViewWrapper( VideoBasePlaybackView* aView ); |
50 CMPXVideoViewWrapper( VideoBasePlaybackView* aView ); |
51 void ConstructL(); |
51 void ConstructL(); |
52 |
52 |
53 public: |
53 public: |
54 void HandleCommandL( TInt aCommand ); |
54 void HandleCommandL( TInt aCommand ); |
55 |
55 |
56 void SetPropertyL( TMPXPlaybackProperty aProperty, TInt aValue ); |
56 void SetPropertyL( TMPXPlaybackProperty aProperty, TInt aValue ); |
57 |
57 |
58 void UpdateVideoRect( TInt aX, TInt aY, TInt aWidth, TInt aHeight, TBool transitionEffect ); |
58 void UpdateVideoRect( TInt aX, TInt aY, TInt aWidth, TInt aHeight, TBool transitionEffect ); |
59 |
59 |
60 TBool IsResumingPlaybackAfterTermination(); |
60 TBool IsResumingPlaybackAfterTermination(); |
61 |
61 |
62 |
62 TInt VolumeSteps(); |
|
63 |
63 public: // data |
64 public: // data |
64 |
65 |
65 VideoBasePlaybackView* mView; |
66 VideoBasePlaybackView* mView; |
66 TBool mMediaRequested; |
67 TBool mMediaRequested; |
67 VideoPlaybackViewFileDetails* mFileDetails; |
68 VideoPlaybackViewFileDetails* mFileDetails; |
68 TBool mClosePlayerAO; |
69 TBool mClosePlayerAO; |
69 TBool mForeground; |
70 TBool mForeground; |
70 int mProperty; |
71 int mProperty; |
71 int mCommandId; |
72 int mCommandId; |
|
73 int mVolumeSteps; |
72 }; |
74 }; |
73 |
75 |
74 #endif // __MPXVIDEOVIEWWRAPPER_H__ |
76 #endif // __MPXVIDEOVIEWWRAPPER_H__ |
75 |
77 |
76 // EOF |
78 // EOF |