18 |
18 |
19 #ifndef BAVPCONTROLLERVIDEO_H |
19 #ifndef BAVPCONTROLLERVIDEO_H |
20 #define BAVPCONTROLLERVIDEO_H |
20 #define BAVPCONTROLLERVIDEO_H |
21 |
21 |
22 // INCLUDES |
22 // INCLUDES |
|
23 #include <browser_platform_variant.hrh> |
|
24 |
|
25 #ifdef BRDO_VIDEOPLAYER2_ENABLED_FF |
|
26 #include <VideoPlayer2.h> |
|
27 #else |
23 #include <VideoPlayer.h> |
28 #include <VideoPlayer.h> |
|
29 #endif |
24 #include "BavpController.h" |
30 #include "BavpController.h" |
25 |
31 |
26 // FORWARD DECLARATIONS |
32 // FORWARD DECLARATIONS |
27 class MBavpView; |
33 class MBavpView; |
28 class CBavpViewFullScreen; |
34 class CBavpViewFullScreen; |
383 */ |
389 */ |
384 void HandleScreenSaver(); |
390 void HandleScreenSaver(); |
385 |
391 |
386 TBool NoScreenSaverMode(); |
392 TBool NoScreenSaverMode(); |
387 void SetDefaultAspectRatioL(); |
393 void SetDefaultAspectRatioL(); |
|
394 #ifdef BRDO_VIDEOPLAYER2_ENABLED_FF |
|
395 /** |
|
396 * Handles a window rect update timer event where the timer completes the KWindowChangeUpdateTimeout |
|
397 * with the system clock |
|
398 * @since S60 v5.2 |
|
399 * @param none |
|
400 * @return void |
|
401 */ |
|
402 void UpdateWindowSize(); |
|
403 #endif |
388 private: // Data |
404 private: // Data |
389 |
405 |
390 // Used to call MMF for video functionality |
406 // Used to call MMF for video functionality |
391 CVideoPlayerUtility* iVideoPlayer; |
407 #ifdef BRDO_VIDEOPLAYER2_ENABLED_FF |
392 |
408 /** |
393 // Active object for display update |
409 * MMF Client API has updated with new methods to control video display |
394 CIdle* iDisplayUpdater; |
410 *windows and video picture positioning to produce a new version of the API, |
395 |
411 *CVideoPlayerUtility2. The new API is the preferred way to play video on graphics |
396 // The full screen view |
412 *surfaces, and will support new features such as more flexible window positioning. |
397 CBavpViewFullScreen* iBavpViewFullScreen; |
413 */ |
398 //heart beat progress |
414 CVideoPlayerUtility2* iVideoPlayer; |
399 CHeartbeat* iBackLightUpdater; |
415 #else |
400 TRect iNormalScreenRect; |
416 CVideoPlayerUtility* iVideoPlayer; |
|
417 #endif |
|
418 // Active object for display update |
|
419 CIdle* iDisplayUpdater; |
|
420 |
|
421 // The full screen view |
|
422 CBavpViewFullScreen* iBavpViewFullScreen; |
|
423 //heart beat progress |
|
424 CHeartbeat* iBackLightUpdater; |
|
425 TRect iNormalScreenRect; |
|
426 RWindow* iActiveWindow; |
401 }; |
427 }; |
402 |
428 |
403 #endif // CBAVPCONTROLLERVIDEO_H |
429 #endif // CBAVPCONTROLLERVIDEO_H |
404 |
430 |
405 // End of File |
431 // End of File |