videoplayback/hbvideoplaybackview/tsrc/testmpxvideoplaybackcontrolbar/stub/inc/mpxvideoplaybackbuttonbar.h
changeset 36 8aed59de29f9
parent 35 3738fe97f027
equal deleted inserted replaced
35:3738fe97f027 36:8aed59de29f9
    13 *
    13 *
    14 * Description:  Implementation of QMPXVideoPlaybackButtonBar
    14 * Description:  Implementation of QMPXVideoPlaybackButtonBar
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version:  1 %
    18 // Version : %version:  2 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 #ifndef MPXVIDEOPLAYBACKBUTTONBAR_H_
    22 #ifndef MPXVIDEOPLAYBACKBUTTONBAR_H_
    23 #define MPXVIDEOPLAYBACKBUTTONBAR_H_
    23 #define MPXVIDEOPLAYBACKBUTTONBAR_H_
    40         virtual ~QMPXVideoPlaybackButtonBar();
    40         virtual ~QMPXVideoPlaybackButtonBar();
    41         void updateState( TMPXPlaybackState state );
    41         void updateState( TMPXPlaybackState state );
    42         void aspectRatioChanged( int aspectRatio );
    42         void aspectRatioChanged( int aspectRatio );
    43         void initialize();
    43         void initialize();
    44         void updateWithFileDetails( QMPXVideoPlaybackViewFileDetails* details );
    44         void updateWithFileDetails( QMPXVideoPlaybackViewFileDetails* details );
       
    45         void durationChanged( int duration );
       
    46         void positionChanged( int position );
    45 
    47 
    46     public:
    48     public:
    47         QMPXVideoPlaybackControlsController *mController;
    49         QMPXVideoPlaybackControlsController *mController;
    48         QMPXVideoPlaybackViewFileDetails *mFileDetails;
    50         QMPXVideoPlaybackViewFileDetails *mFileDetails;
    49         int mAspectRatio;
    51         int mAspectRatio;
       
    52         int mPosition;
       
    53         int mDuration;
    50         TMPXPlaybackState mState;
    54         TMPXPlaybackState mState;
    51 };
    55 };
    52 
    56 
    53 #endif /*MPXVIDEOPLAYBACKBUTTONBAR_H_*/
    57 #endif /*MPXVIDEOPLAYBACKBUTTONBAR_H_*/