equal
deleted
inserted
replaced
14 * Description: This class plays files with the Helix Engine |
14 * Description: This class plays files with the Helix Engine |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 // Version : %version: 25 % |
19 // Version : %version: 28 % |
20 |
20 |
21 |
21 |
22 #ifndef _CMPXVIDEOPLAYBACKCONTROLLER_H_ |
22 #ifndef _CMPXVIDEOPLAYBACKCONTROLLER_H_ |
23 #define _CMPXVIDEOPLAYBACKCONTROLLER_H_ |
23 #define _CMPXVIDEOPLAYBACKCONTROLLER_H_ |
24 |
24 |
124 TBool IsPhoneCall(); |
124 TBool IsPhoneCall(); |
125 TBool IsActivePhoneCall(); |
125 TBool IsActivePhoneCall(); |
126 TBool IsVideoCall(); |
126 TBool IsVideoCall(); |
127 TBool IsVoiceCall(); |
127 TBool IsVoiceCall(); |
128 |
128 |
|
129 TBool IsViewActivated(); |
|
130 |
129 void HandleTvOutEventL( TBool aConnected ); |
131 void HandleTvOutEventL( TBool aConnected ); |
130 |
132 |
131 void HandleError(TInt error); |
133 void HandleError(TInt error); |
132 void SetVolumeSteps( TInt aVolumeSteps ); |
134 void SetVolumeSteps( TInt aVolumeSteps ); |
133 void HandleVolumeL( TBool aIncrease ); |
135 void HandleVolumeL( TBool aIncrease ); |
134 |
136 |
135 void SendHideControlsEventL(); |
137 void SendHideControlsEventL(); |
|
138 |
|
139 void HandleFrameReady(TInt aError); |
136 |
140 |
137 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
141 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API |
138 |
142 |
139 void OpenFile64L( const TDesC& aMediaFile, RFile64& aFile, TInt aPosition, TInt aAccessPointId = KUseDefaultIap ); |
143 void OpenFile64L( const TDesC& aMediaFile, RFile64& aFile, TInt aPosition, TInt aAccessPointId = KUseDefaultIap ); |
140 |
144 |
218 RFile iFileHandle; |
222 RFile iFileHandle; |
219 CMPXVideoFileDetails* iFileDetails; |
223 CMPXVideoFileDetails* iFileDetails; |
220 TBool iAppInForeground; |
224 TBool iAppInForeground; |
221 CMediaRecognizer::TMediaType iMediaType; |
225 CMediaRecognizer::TMediaType iMediaType; |
222 TInt iAccessPointId; |
226 TInt iAccessPointId; |
223 TBool iForegroundPause; |
|
224 TBool iAllowAutoPlay; |
227 TBool iAllowAutoPlay; |
225 TBool iHelixLoadingStarted; |
228 TBool iHelixLoadingStarted; |
226 TInt iPBPluginError; |
229 TInt iPBPluginError; |
227 TInt iVolumeNormalizer; |
230 TInt iVolumeNormalizer; |
228 |
231 |
262 |
265 |
263 CMpxVideoDrmHelper* iDrmHelper; |
266 CMpxVideoDrmHelper* iDrmHelper; |
264 CHWRMLight* iLight; |
267 CHWRMLight* iLight; |
265 TInt iLightStatus; |
268 TInt iLightStatus; |
266 TInt iSavedPosition; |
269 TInt iSavedPosition; |
|
270 TBool iViewActivated; |
267 |
271 |
268 public: // Friend classes |
272 public: // Friend classes |
269 |
273 |
270 // states are friends of the controller |
274 // states are friends of the controller |
271 friend class CMPXVideoPlaybackState; |
275 friend class CMPXVideoPlaybackState; |
287 |
291 |
288 friend class CMPXVideoSeeker; |
292 friend class CMPXVideoSeeker; |
289 friend class CMPXVideoDlMgrIf; |
293 friend class CMPXVideoDlMgrIf; |
290 friend class CMPXVideoAccessoryObserver; |
294 friend class CMPXVideoAccessoryObserver; |
291 friend class CMpxVideoPlayerUtility; |
295 friend class CMpxVideoPlayerUtility; |
|
296 friend class CMPXVideoPosterFrameSetter; |
292 }; |
297 }; |
293 |
298 |
294 // INLINE METHODS |
299 // INLINE METHODS |
295 |
300 |
296 inline |
301 inline |