videoplayback/videoplaybackview/tsrc/testcontrolbar/stub/src/videoplaybackprogressbar.cpp
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 |
22 |
23 #include "mpxvideo_debug.h" |
23 #include "mpxvideo_debug.h" |
26 |
26 |
27 // ------------------------------------------------------------------------------------------------- |
27 // ------------------------------------------------------------------------------------------------- |
28 // VideoPlaybackProgressBar::VideoPlaybackProgressBar |
28 // VideoPlaybackProgressBar::VideoPlaybackProgressBar |
29 // ------------------------------------------------------------------------------------------------- |
29 // ------------------------------------------------------------------------------------------------- |
30 // |
30 // |
31 VideoPlaybackProgressBar::VideoPlaybackProgressBar( |
31 VideoPlaybackProgressBar::VideoPlaybackProgressBar( |
32 VideoPlaybackControlsController* controller ) |
32 VideoPlaybackControlsController* controller ) |
33 : mController( controller ) |
33 : mController( controller ) |
|
34 , mReset( false ) |
34 , mDuration( -1 ) |
35 , mDuration( -1 ) |
35 { |
36 { |
36 MPX_ENTER_EXIT(_L("VideoPlaybackProgressBar::VideoPlaybackProgressBar()")); |
37 MPX_ENTER_EXIT(_L("VideoPlaybackProgressBar::VideoPlaybackProgressBar()")); |
37 } |
38 } |
38 |
39 |
97 MPX_DEBUG(_L("VideoPlaybackProgressBar::updateState() state = %d"), state ); |
98 MPX_DEBUG(_L("VideoPlaybackProgressBar::updateState() state = %d"), state ); |
98 |
99 |
99 mState = state; |
100 mState = state; |
100 } |
101 } |
101 |
102 |
|
103 // ------------------------------------------------------------------------------------------------- |
|
104 // VideoPlaybackProgressBar::resetControl() |
|
105 // ------------------------------------------------------------------------------------------------- |
|
106 // |
|
107 void VideoPlaybackProgressBar::resetControl() |
|
108 { |
|
109 MPX_DEBUG(_L("VideoPlaybackProgressBar::resetControl()")); |
|
110 |
|
111 mReset = true; |
|
112 } |
|
113 |
102 //End of file |
114 //End of file |