videoplayback/videoplaybackview/tsrc/testcontrolbar/stub/inc/videoplaybackprogressbar.h
equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Implementation of VideoPlaybackProgressBar |
14 * Description: Implementation of VideoPlaybackProgressBar |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: 2 % |
18 // Version : %version: 3 % |
19 |
19 |
20 |
20 |
21 |
21 |
22 #ifndef VIDEOPLAYBACKPROGRESSBAR_H_ |
22 #ifndef VIDEOPLAYBACKPROGRESSBAR_H_ |
23 #define VIDEOPLAYBACKPROGRESSBAR_H_ |
23 #define VIDEOPLAYBACKPROGRESSBAR_H_ |
36 VideoPlaybackProgressBar( VideoPlaybackControlsController* controller ); |
36 VideoPlaybackProgressBar( VideoPlaybackControlsController* controller ); |
37 virtual ~VideoPlaybackProgressBar(); |
37 virtual ~VideoPlaybackProgressBar(); |
38 void initialize(); |
38 void initialize(); |
39 void updateWithFileDetails( VideoPlaybackViewFileDetails* details ); |
39 void updateWithFileDetails( VideoPlaybackViewFileDetails* details ); |
40 void updateState( TMPXPlaybackState state ); |
40 void updateState( TMPXPlaybackState state ); |
|
41 void resetControl(); |
41 |
42 |
42 public: |
43 public: |
43 void durationChanged( int duration ); |
44 void durationChanged( int duration ); |
44 void positionChanged( int position ); |
45 void positionChanged( int position ); |
45 |
46 |
46 public: |
47 public: |
47 VideoPlaybackControlsController *mController; |
48 VideoPlaybackControlsController *mController; |
48 VideoPlaybackViewFileDetails *mFileDetails; |
49 VideoPlaybackViewFileDetails *mFileDetails; |
49 TMPXPlaybackState mState; |
50 TMPXPlaybackState mState; |
|
51 bool mReset; |
50 int mDuration; |
52 int mDuration; |
51 int mPosition; |
53 int mPosition; |
52 }; |
54 }; |
53 |
55 |
54 #endif /*VIDEOPLAYBACKPROGRESSBAR_H_*/ |
56 #endif /*VIDEOPLAYBACKPROGRESSBAR_H_*/ |