videoplayback/videoplaybackview/tsrc/testcontrolbar/stub/inc/videoplaybacktoolbar.h
changeset 62 0e1e938beb1a
parent 52 e3cecb93e76a
equal deleted inserted replaced
59:a76e86df7ccd 62:0e1e938beb1a
    13 *
    13 *
    14 * Description:  Implementation of VideoPlaybackToolBar
    14 * Description:  Implementation of VideoPlaybackToolBar
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version:  2 %
    18 // Version : %version:  3 %
    19 
    19 
    20 
    20 
    21 
    21 
    22 #ifndef VIDEOPLAYBACKTOOLBAR_H_
    22 #ifndef VIDEOPLAYBACKTOOLBAR_H_
    23 #define VIDEOPLAYBACKTOOLBAR_H_
    23 #define VIDEOPLAYBACKTOOLBAR_H_
    43         void initialize();
    43         void initialize();
    44         void updateWithFileDetails( VideoPlaybackViewFileDetails* details );
    44         void updateWithFileDetails( VideoPlaybackViewFileDetails* details );
    45         void durationChanged( int duration );
    45         void durationChanged( int duration );
    46         void positionChanged( int position );
    46         void positionChanged( int position );
    47         void setVisible( bool visible );
    47         void setVisible( bool visible );
       
    48         void resetControl();
    48 
    49 
    49     public:
    50     public:
    50         VideoPlaybackControlsController *mController;
    51         VideoPlaybackControlsController *mController;
    51         VideoPlaybackViewFileDetails *mFileDetails;
    52         VideoPlaybackViewFileDetails *mFileDetails;
    52         int mAspectRatio;
    53         int mAspectRatio;
    53         int mPosition;
    54         int mPosition;
    54         int mDuration;
    55         int mDuration;
    55         bool mVisible;
    56         bool mVisible;
       
    57         bool mReset;
    56         TMPXPlaybackState mState;
    58         TMPXPlaybackState mState;
    57 };
    59 };
    58 
    60 
    59 #endif /*VIDEOPLAYBACKTOOLBAR_H_*/
    61 #endif /*VIDEOPLAYBACKTOOLBAR_H_*/