videoplayback/videohelix/inc/mpxvideoplaybackcontroller.h
branchRCL_3
changeset 64 3eb824b18d67
parent 26 67eb01668b0e
child 70 375929f879c2
equal deleted inserted replaced
60:f87e8c4ac026 64:3eb824b18d67
    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: 29 %
    19 // Version : %version: 30 %
    20 
    20 
    21 
    21 
    22 #ifndef _CMPXVIDEOPLAYBACKCONTROLLER_H_
    22 #ifndef _CMPXVIDEOPLAYBACKCONTROLLER_H_
    23 #define _CMPXVIDEOPLAYBACKCONTROLLER_H_
    23 #define _CMPXVIDEOPLAYBACKCONTROLLER_H_
    24 
    24 
    39 #include "mpxhelixplaybackplugindefs.h"
    39 #include "mpxhelixplaybackplugindefs.h"
    40 #include "mpxvideoaccessoryobserver.h"
    40 #include "mpxvideoaccessoryobserver.h"
    41 #include "mpxvideoplayerutility.h"
    41 #include "mpxvideoplayerutility.h"
    42 #include "mpxvideo_debug.h"
    42 #include "mpxvideo_debug.h"
    43 
    43 
       
    44 #include "mpxcalldetector.h"
    44 // DATA TYPES
    45 // DATA TYPES
    45 
    46 
    46 // FORWARD DECLARATIONS
    47 // FORWARD DECLARATIONS
    47 
    48 
    48 class MMPXPlaybackPluginObserver;
    49 class MMPXPlaybackPluginObserver;
    66  *
    67  *
    67  */
    68  */
    68 NONSHARABLE_CLASS( CMPXVideoPlaybackController )
    69 NONSHARABLE_CLASS( CMPXVideoPlaybackController )
    69     : public CBase
    70     : public CBase
    70     , public MMPXCenRepObserver
    71     , public MMPXCenRepObserver
       
    72     , public MMPXCallDetectorObserver
    71 {
    73 {
    72     public:
    74     public:
    73         //
    75         //
    74         //  Constructors and destructor
    76         //  Constructors and destructor
    75         //
    77         //
   144 
   146 
   145 #endif // SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
   147 #endif // SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
   146 
   148 
   147 
   149 
   148     private:
   150     private:
       
   151         void CallDetectedL();
   149 
   152 
   150         void SetDisplayWindowL( CMPXCommand& aCmd );
   153         void SetDisplayWindowL( CMPXCommand& aCmd );
   151         void RestartDSA( CMPXCommand& aCmd );
   154         void RestartDSA( CMPXCommand& aCmd );
   152         inline void AbortDSA();
   155         inline void AbortDSA();
   153 
   156 
   259         CPeriodic*                              iDisplayTimer;
   262         CPeriodic*                              iDisplayTimer;
   260         TTimeIntervalMicroSeconds32             iDisplayTimerTimeout;
   263         TTimeIntervalMicroSeconds32             iDisplayTimerTimeout;
   261         // Timer monitoring user activity when TV-out is connected
   264         // Timer monitoring user activity when TV-out is connected
   262         CPeriodic*                              iUserActivityTimer;
   265         CPeriodic*                              iUserActivityTimer;
   263 
   266 
       
   267         // Call detector
       
   268         CMPXCallDetector*                       iCallDetector; 
       
   269 
   264         TBool                                   iSeekable;
   270         TBool                                   iSeekable;
   265 
   271 
   266         CMpxVideoDrmHelper*                     iDrmHelper;
   272         CMpxVideoDrmHelper*                     iDrmHelper;
   267         CHWRMLight*                             iLight;
   273         CHWRMLight*                             iLight;
   268         TInt                                    iLightStatus;
   274         TInt                                    iLightStatus;