videoplayback/videohelix/inc/mpxvideoplaybackstate.h
branchRCL_3
changeset 14 55fa1ec415c6
parent 1 6711b85517b7
child 15 8f0df5c82986
equal deleted inserted replaced
12:7f2b2a65da29 14:55fa1ec415c6
    13 *
    13 *
    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 // Version : %version: 17 %
    18 
       
    19 // Version : %version: 18 %
    19 
    20 
    20 
    21 
    21 #ifndef _CMPXVIDEOPLAYBACKSTATE_H_
    22 #ifndef _CMPXVIDEOPLAYBACKSTATE_H_
    22 #define _CMPXVIDEOPLAYBACKSTATE_H_
    23 #define _CMPXVIDEOPLAYBACKSTATE_H_
    23 
    24 
    46  *  @lib mpxvideohelixplayback.lib
    47  *  @lib mpxvideohelixplayback.lib
    47  *
    48  *
    48  */
    49  */
    49 NONSHARABLE_CLASS( CMPXVideoPlaybackState ) : public CBase
    50 NONSHARABLE_CLASS( CMPXVideoPlaybackState ) : public CBase
    50 {
    51 {
    51 
       
    52     public:
    52     public:
    53         //
    53         //
    54         //  Constructors and destructor
    54         //  Constructors and destructor
    55         //
    55         //
    56 
    56 
   102         virtual void HandleEndOfClip();
   102         virtual void HandleEndOfClip();
   103         virtual TInt RetrieveBufferingPercentage();
   103         virtual TInt RetrieveBufferingPercentage();
   104 
   104 
   105         virtual void ResolveTimeoutError( TInt aError );
   105         virtual void ResolveTimeoutError( TInt aError );
   106 
   106 
       
   107         virtual void UpdateSeekableL( CMPXCommand& aCmd );
       
   108 
   107         //
   109         //
   108         // Set aspect ratio to mmf controller
   110         // Set aspect ratio to mmf controller
   109         //
   111         //
   110         virtual void SetAspectRatioL( CMPXCommand& aCmd, TMMFScalingType aType );
   112         virtual void SetAspectRatioL( CMPXCommand& aCmd, TMMFScalingType aType );
   111 
   113 
   163         inline virtual TBool IsInitialized();
   165         inline virtual TBool IsInitialized();
   164         virtual void HandleUnexpectedError( TInt aError );
   166         virtual void HandleUnexpectedError( TInt aError );
   165         virtual void HandleBackground();
   167         virtual void HandleBackground();
   166         virtual void HandleForeground();
   168         virtual void HandleForeground();
   167         virtual void HandlePlay();
   169         virtual void HandlePlay();
   168 
   170         virtual void UpdateSeekableL( CMPXCommand& aCmd );
   169         inline virtual TMPXVideoPlaybackState GetState();
   171 
   170 
   172         inline virtual TMPXVideoPlaybackState GetState();
   171 };
   173 };
   172 
   174 
   173 
   175 
   174 ////////////////////////////////////////////////////////
   176 ////////////////////////////////////////////////////////
   175 ///     Declaration of CMPXIntialisingState
   177 ///     Declaration of CMPXIntialisingState