equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Implementation of VideoPlaybackControlsController |
14 * Description: Implementation of VideoPlaybackControlsController |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: da1mmcf#23 % |
18 // Version : %version: da1mmcf#24 % |
19 |
19 |
20 |
20 |
21 |
21 |
22 #ifndef VIDEOPLAYBACKCONTROLSCONTROLLER_H_ |
22 #ifndef VIDEOPLAYBACKCONTROLSCONTROLLER_H_ |
23 #define VIDEOPLAYBACKCONTROLSCONTROLLER_H_ |
23 #define VIDEOPLAYBACKCONTROLSCONTROLLER_H_ |
147 |
147 |
148 void changeViewMode( TPlaybackViewMode viewMode, bool transitionEffect = true ); |
148 void changeViewMode( TPlaybackViewMode viewMode, bool transitionEffect = true ); |
149 |
149 |
150 inline bool isAttachOperation(); |
150 inline bool isAttachOperation(); |
151 |
151 |
|
152 inline bool isFileDetailsAdded(); |
|
153 |
152 bool isRNLogoBitmapInControlList(); |
154 bool isRNLogoBitmapInControlList(); |
153 |
155 |
154 bool shouldShowRNLogo(); |
156 bool shouldShowRNLogo(); |
155 |
157 |
156 private: |
158 private: |
157 /** |
159 /** |
158 * Initialize controller |
160 * Initialize controller |
226 |
228 |
227 /** |
229 /** |
228 * Check whether this clip is real format or not for local/progressive donwload |
230 * Check whether this clip is real format or not for local/progressive donwload |
229 */ |
231 */ |
230 bool realFormatForLocal(); |
232 bool realFormatForLocal(); |
231 |
233 |
232 /** |
234 /** |
233 * Handle errors |
235 * Handle errors |
234 */ |
236 */ |
235 void handleErrors(); |
237 void handleErrors(); |
236 |
238 |
237 /** |
239 /** |
238 * Return true if control is visible |
240 * Return true if control is visible |
239 */ |
241 */ |
240 bool isSoftKeyVisible(); |
242 bool isSoftKeyVisible(); |
241 |
243 |
242 /** |
244 /** |
243 * Handle tvout connected/disconnected event |
245 * Handle tvout connected/disconnected event |
244 */ |
246 */ |
245 void handleTvOutEvent( bool connected, |
247 void handleTvOutEvent( bool connected, |
246 TVideoPlaybackControlCommandIds event ); |
248 TVideoPlaybackControlCommandIds event ); |
247 |
249 |
248 void updateVideoRect( bool transitionEffect = true ); |
250 void updateVideoRect( bool transitionEffect = true ); |
249 |
251 |
250 void showVolumeControls(); |
252 void showVolumeControls(); |
294 ThumbnailManager *mThumbnailManager; |
296 ThumbnailManager *mThumbnailManager; |
295 VideoServices *mVideoServices; |
297 VideoServices *mVideoServices; |
296 |
298 |
297 bool mViewTransitionIsGoingOn; |
299 bool mViewTransitionIsGoingOn; |
298 bool mIsAttachOperation; |
300 bool mIsAttachOperation; |
299 |
301 bool mFileDetailsAdded; |
|
302 |
300 TThumbNailState mThumbNailState; |
303 TThumbNailState mThumbNailState; |
301 |
304 |
302 TMPXPlaybackState mState; |
305 TMPXPlaybackState mState; |
303 TPlaybackViewMode mViewMode; |
306 TPlaybackViewMode mViewMode; |
304 Qt::Orientation mOrientation; |
307 Qt::Orientation mOrientation; |
372 // VideoPlaybackControlsController::isAttachOperation |
375 // VideoPlaybackControlsController::isAttachOperation |
373 // ------------------------------------------------------------------------------------------------- |
376 // ------------------------------------------------------------------------------------------------- |
374 // |
377 // |
375 inline |
378 inline |
376 bool VideoPlaybackControlsController::isAttachOperation() |
379 bool VideoPlaybackControlsController::isAttachOperation() |
377 { |
380 { |
378 MPX_DEBUG(_L("VideoPlaybackControlsController::isAttachOperation() ret %d"), |
381 MPX_DEBUG(_L("VideoPlaybackControlsController::isAttachOperation() ret %d"), |
379 mIsAttachOperation ); |
382 mIsAttachOperation ); |
380 |
383 |
381 return mIsAttachOperation; |
384 return mIsAttachOperation; |
382 } |
385 } |
383 |
386 |
|
387 // ------------------------------------------------------------------------------------------------- |
|
388 // VideoPlaybackControlsController::viewMode |
|
389 // ------------------------------------------------------------------------------------------------- |
|
390 // |
|
391 inline |
|
392 bool VideoPlaybackControlsController::isFileDetailsAdded() |
|
393 { |
|
394 MPX_DEBUG(_L("VideoPlaybackControlsController::isFileDetailsAdded() ret %d"), |
|
395 mFileDetailsAdded ); |
|
396 |
|
397 return mFileDetailsAdded; |
|
398 } |
|
399 |
384 #endif /*MPXVIDEOPLAYBACKCONTROLSCONTROLLER_P_H_*/ |
400 #endif /*MPXVIDEOPLAYBACKCONTROLSCONTROLLER_P_H_*/ |
385 |
401 |
386 // End of File |
402 // End of File |