equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: This class is the interface between the playback plugin and RMMFController |
14 * Description: This class is the interface between the playback plugin and RMMFController |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: 14 % |
18 // Version : %version: 15 % |
19 |
19 |
20 |
20 |
21 #ifndef __MPXVIDEOPLAYERUTILITY__ |
21 #ifndef __MPXVIDEOPLAYERUTILITY__ |
22 #define __MPXVIDEOPLAYERUTILITY__ |
22 #define __MPXVIDEOPLAYERUTILITY__ |
23 |
23 |
24 // |
24 // |
25 // INCLUDES |
25 // INCLUDES |
26 // |
26 // |
27 #include <mmf/common/mmfcontroller.h> |
27 #include <mmf/common/mmfcontroller.h> |
|
28 #include <e32base.h> |
28 |
29 |
29 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
30 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
30 #include <mmf/common/mmfstandardcustomcommandsimpl.h> |
31 #include <mmf/common/mmfstandardcustomcommandsimpl.h> |
31 #else |
32 #else |
32 #include <mmf/common/mmfstandardcustomcommands.h> |
33 #include <mmf/common/mmfstandardcustomcommands.h> |
33 #endif |
34 #endif |
34 |
35 |
35 #include <mmf/common/mmfdrmcustomcommands.h> |
36 #include <mmf/common/mmfdrmcustomcommands.h> |
|
37 |
|
38 #ifdef SYMBIAN_BUILD_GCE |
|
39 #include <mmf/common/mmfvideosurfacecustomcommands.h> |
|
40 #endif |
36 |
41 |
37 #include "videohelixtest.h" |
42 #include "videohelixtest.h" |
38 |
43 |
39 typedef CArrayPtrFlat<TMMFEvent> CMmfCallbackArray; |
44 typedef CArrayPtrFlat<TMMFEvent> CMmfCallbackArray; |
40 |
45 |
111 void AddStifObserver( MStifTestObserver* aStifObserver ); |
116 void AddStifObserver( MStifTestObserver* aStifObserver ); |
112 |
117 |
113 void SetVolumeSteps( TInt aVolumeSteps ); |
118 void SetVolumeSteps( TInt aVolumeSteps ); |
114 |
119 |
115 void SurfaceRemovedFromView(); |
120 void SurfaceRemovedFromView(); |
116 |
121 |
117 void GetFrameL(); |
122 void GetFrameL(); |
118 CFbsBitmap& GetBitmap(); |
123 CFbsBitmap& GetBitmap(); |
119 |
124 |
120 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
125 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
121 void OpenFile64L( const RFile64& aFile ); |
126 void OpenFile64L( const RFile64& aFile ); |
123 |
128 |
124 #ifdef SYMBIAN_BUILD_GCE |
129 #ifdef SYMBIAN_BUILD_GCE |
125 |
130 |
126 TInt VideoSurfaceCreated(); |
131 TInt VideoSurfaceCreated(); |
127 TInt SurfaceParametersChanged(); |
132 TInt SurfaceParametersChanged(); |
128 TInt RemoveSurface(); |
133 void RemoveSurface(); |
|
134 TInt RemoveSurfaceFromHelix( TSurfaceId aSurfaceId );; |
129 void SendSurfaceCreatedCommand(); |
135 void SendSurfaceCreatedCommand(); |
130 |
136 |
131 #endif |
137 #endif |
132 |
138 |
133 private: |
139 private: |
182 TBool iSeekable; |
188 TBool iSeekable; |
183 TBool iLiveStream; |
189 TBool iLiveStream; |
184 |
190 |
185 TTimeIntervalMicroSeconds iPosition; |
191 TTimeIntervalMicroSeconds iPosition; |
186 TTimeIntervalMicroSeconds iDuration; |
192 TTimeIntervalMicroSeconds iDuration; |
187 |
193 |
188 CFbsBitmap* iPosterFrameBitmap; |
194 CFbsBitmap* iPosterFrameBitmap; |
189 }; |
195 }; |
190 |
196 |
191 #endif /* __MPXVIDEOPLAYERUTILITY__ */ |
197 #endif /* __MPXVIDEOPLAYERUTILITY__ */ |