videoplayback/videohelix/inc/mpxvideoplayerutility.h
branchRCL_3
changeset 21 315810614048
parent 15 8f0df5c82986
equal deleted inserted replaced
20:2d690156cf8f 21:315810614048
    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: 13 %
    18 
       
    19 // Version : %version: 14 %
    19 
    20 
    20 
    21 
    21 #ifndef __MPXVIDEOPLAYERUTILITY__
    22 #ifndef __MPXVIDEOPLAYERUTILITY__
    22 #define __MPXVIDEOPLAYERUTILITY__
    23 #define __MPXVIDEOPLAYERUTILITY__
    23 
    24 
   101         void SetPositionL( const TTimeIntervalMicroSeconds& aPosition );
   102         void SetPositionL( const TTimeIntervalMicroSeconds& aPosition );
   102 
   103 
   103         void SetPlayVelocityL( TInt aVelocity );
   104         void SetPlayVelocityL( TInt aVelocity );
   104 
   105 
   105         void GetVideoLoadingProgressL( TInt& aPercentageProgress );
   106         void GetVideoLoadingProgressL( TInt& aPercentageProgress );
   106         
   107 
   107         void GetFrameL();
   108         void GetFrameL();
   108 
   109 
   109         //
   110         //
   110         //  MMMFControllerEventMonitorObserver Implementation
   111         //  MMMFControllerEventMonitorObserver Implementation
   111         //
   112         //
   112         void HandleEvent( const TMMFEvent& aEvent );
   113         void HandleEvent( const TMMFEvent& aEvent );
   113              
   114 
   114         CFbsBitmap& GetBitmap();
   115         CFbsBitmap& GetBitmap();
   115         
   116 
   116         void RunL();
   117         void RunL();
   117         void DoCancel();
   118         void DoCancel();
   118 
   119 
   119 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
   120 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
   120         void OpenFile64L( const RFile64& aFile );
   121         void OpenFile64L( const RFile64& aFile );
   122 
   123 
   123 #ifdef SYMBIAN_BUILD_GCE
   124 #ifdef SYMBIAN_BUILD_GCE
   124 
   125 
   125         TInt VideoSurfaceCreated();
   126         TInt VideoSurfaceCreated();
   126         TInt SurfaceParametersChanged();
   127         TInt SurfaceParametersChanged();
   127         TInt RemoveSurface();
   128         void RemoveSurface();
       
   129         TInt RemoveSurfaceFromHelix( TSurfaceId aSurfaceId );
   128 
   130 
   129         void SendSurfaceCommandL( TInt aCmd );
   131         void SendSurfaceCommandL( TInt aCmd );
   130 
   132 
   131         void SendSurfaceCommandL( TInt aCmd,
   133         void SendSurfaceCommandL( TInt aCmd,
   132                                   const TSurfaceId& aSurfaceId,
   134                                   const TSurfaceId& aSurfaceId,
   166 #endif
   168 #endif
   167 
   169 
   168         CMMFControllerEventMonitor*               iControllerEventMonitor;
   170         CMMFControllerEventMonitor*               iControllerEventMonitor;
   169 
   171 
   170         TBool                                     iDirectScreenAccessAbort;
   172         TBool                                     iDirectScreenAccessAbort;
   171         
   173 
   172         CFbsBitmap*                               iPosterFrameBitmap;
   174         CFbsBitmap*                               iPosterFrameBitmap;
   173 };
   175 };
   174 
   176 
   175 #endif /* __MPXVIDEOPLAYERUTILITY__ */
   177 #endif /* __MPXVIDEOPLAYERUTILITY__ */