videoplayback/videoplaybackview/tsrc/testfullscreencontrol/stub/inc/videoplaybackcontrolbar.h
equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Implementation of VideoPlaybackControlBar |
14 * Description: Implementation of VideoPlaybackControlBar |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: 3 % |
18 // Version : %version: 4 % |
19 |
19 |
20 |
20 |
21 |
21 |
22 #ifndef VIDEOPLAYBACKCONTROLBAR_H_ |
22 #ifndef VIDEOPLAYBACKCONTROLBAR_H_ |
23 #define VIDEOPLAYBACKCONTROLBAR_H_ |
23 #define VIDEOPLAYBACKCONTROLBAR_H_ |
41 void aspectRatioChanged( int aspectRatio ); |
41 void aspectRatioChanged( int aspectRatio ); |
42 void updateWithFileDetails( VideoPlaybackViewFileDetails* details ); |
42 void updateWithFileDetails( VideoPlaybackViewFileDetails* details ); |
43 void setVisibleToControlBar( bool visible ); |
43 void setVisibleToControlBar( bool visible ); |
44 void durationChanged( int duration ); |
44 void durationChanged( int duration ); |
45 void positionChanged( int position ); |
45 void positionChanged( int position ); |
|
46 void resetControl(); |
46 |
47 |
47 public: |
48 public: |
48 VideoPlaybackControlsController *mController; |
49 VideoPlaybackControlsController *mController; |
49 int mPosition; |
50 int mPosition; |
50 int mDuration; |
51 int mDuration; |
51 int mAspectRatio; |
52 int mAspectRatio; |
52 bool mVisibility; |
53 bool mVisibility; |
|
54 bool mReset; |
53 TMPXPlaybackState mState; |
55 TMPXPlaybackState mState; |
54 VideoPlaybackViewFileDetails *mFileDetails; |
56 VideoPlaybackViewFileDetails *mFileDetails; |
55 }; |
57 }; |
56 |
58 |
57 #endif /*VIDEOPLAYBACKCONTROLBAR_H_*/ |
59 #endif /*VIDEOPLAYBACKCONTROLBAR_H_*/ |