13 * |
13 * |
14 * Description: Implementation of MPXVideoPlaybackControlsController |
14 * Description: Implementation of MPXVideoPlaybackControlsController |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: 4 % |
18 // Version : %version: 5 % |
19 |
19 |
20 |
20 |
21 |
21 |
22 // INCLUDE FILES |
22 // INCLUDE FILES |
23 #include <coecntrl.h> |
|
24 #include <bautils.h> |
|
25 #include <barsread.h> |
|
26 #include <stringloader.h> |
|
27 #include <f32file.h> |
|
28 |
|
29 #include <qtimer> |
|
30 |
|
31 #include <hblabel.h> |
|
32 #include <hbaction.h> |
|
33 #include <hbiconanimator.h> |
|
34 |
23 |
35 #include "mpxvideoviewwrapper.h" |
24 #include "mpxvideoviewwrapper.h" |
36 #include "hbvideobaseplaybackview.h" |
25 #include "hbvideobaseplaybackview.h" |
37 #include "mpxvideoplaybackbuttonbar.h" |
|
38 #include "mpxvideoplaybackprogressbar.h" |
|
39 #include "mpxvideoplaybackcontrolpolicy.h" |
|
40 #include "mpxvideoplaybackdocumentloader.h" |
|
41 #include "mpxvideoplaybackviewfiledetails.h" |
26 #include "mpxvideoplaybackviewfiledetails.h" |
42 #include "mpxvideoplaybackstatuspanecontrol.h" |
|
43 #include "mpxvideoplaybackfiledetailswidget.h" |
|
44 #include "mpxvideoplaybacknontouchvolumebar.h" |
|
45 #include "mpxvideoplaybackfullscreencontrol.h" |
|
46 #include "../inc/mpxvideoplaybackcontrolscontroller.h" |
27 #include "../inc/mpxvideoplaybackcontrolscontroller.h" |
47 #include "mpxvideoplaybackcontrolconfiguration.h" |
|
48 |
28 |
49 |
29 |
50 // ================= MEMBER FUNCTIONS ============================================================== |
30 // ================= MEMBER FUNCTIONS ============================================================== |
51 |
31 |
52 // ------------------------------------------------------------------------------------------------- |
32 // ------------------------------------------------------------------------------------------------- |
139 } |
116 } |
140 } |
117 } |
141 } |
118 } |
142 |
119 |
143 // ------------------------------------------------------------------------------------------------- |
120 // ------------------------------------------------------------------------------------------------- |
144 // QMPXVideoPlaybackControlsController::handleStateChange |
|
145 // ------------------------------------------------------------------------------------------------- |
|
146 // |
|
147 void QMPXVideoPlaybackControlsController::handleStateChange( TMPXPlaybackState newState ) |
|
148 { |
|
149 Q_UNUSED( newState ); |
|
150 } |
|
151 |
|
152 // ------------------------------------------------------------------------------------------------- |
|
153 // QMPXVideoPlaybackControlsController::controlsListUpdated() |
|
154 // ------------------------------------------------------------------------------------------------- |
|
155 // |
|
156 void QMPXVideoPlaybackControlsController::controlsListUpdated() |
|
157 { |
|
158 |
|
159 } |
|
160 |
|
161 // ------------------------------------------------------------------------------------------------- |
|
162 // QMPXVideoPlaybackControlsController::appendControl() |
|
163 // ------------------------------------------------------------------------------------------------- |
|
164 // |
|
165 void QMPXVideoPlaybackControlsController::appendControl( TMPXVideoPlaybackControls controlIndex ) |
|
166 { |
|
167 Q_UNUSED( controlIndex ); |
|
168 } |
|
169 |
|
170 // ------------------------------------------------------------------------------------------------- |
|
171 // QMPXVideoPlaybackControlsController::resetDisappearingTimers() |
|
172 // ------------------------------------------------------------------------------------------------- |
|
173 // |
|
174 void QMPXVideoPlaybackControlsController::resetDisappearingTimers( TMPXTimerAction timerAction ) |
|
175 { |
|
176 Q_UNUSED( timerAction ); |
|
177 } |
|
178 |
|
179 // ------------------------------------------------------------------------------------------------- |
|
180 // QMPXVideoPlaybackControlsController::hideAllControls() |
121 // QMPXVideoPlaybackControlsController::hideAllControls() |
181 // ------------------------------------------------------------------------------------------------- |
122 // ------------------------------------------------------------------------------------------------- |
182 // |
123 // |
183 void QMPXVideoPlaybackControlsController::hideAllControls() |
124 void QMPXVideoPlaybackControlsController::hideAllControls() |
184 { |
|
185 |
|
186 } |
|
187 |
|
188 // ------------------------------------------------------------------------------------------------- |
|
189 // QMPXVideoPlaybackControlsController::showControls() |
|
190 // ------------------------------------------------------------------------------------------------- |
|
191 // |
|
192 void QMPXVideoPlaybackControlsController::showControls() |
|
193 { |
|
194 |
|
195 } |
|
196 |
|
197 // ------------------------------------------------------------------------------------------------- |
|
198 // QMPXVideoPlaybackControlsController::isVisible() |
|
199 // ------------------------------------------------------------------------------------------------- |
|
200 // |
|
201 bool QMPXVideoPlaybackControlsController::isVisible() |
|
202 { |
|
203 |
|
204 } |
|
205 |
|
206 // ------------------------------------------------------------------------------------------------- |
|
207 // QMPXVideoPlaybackControlsController::handleCommand() |
|
208 // ------------------------------------------------------------------------------------------------- |
|
209 // |
|
210 void QMPXVideoPlaybackControlsController::handleCommand( |
|
211 TMPXVideoPlaybackViewCommandIds command, int value ) |
|
212 { |
|
213 Q_UNUSED( command ); |
|
214 Q_UNUSED( value ); |
|
215 } |
|
216 |
|
217 // ------------------------------------------------------------------------------------------------- |
|
218 // QMPXVideoPlaybackControlsController::volumeChanged() |
|
219 // ------------------------------------------------------------------------------------------------- |
|
220 // |
|
221 void QMPXVideoPlaybackControlsController::volumeChanged( int volume ) |
|
222 { |
|
223 Q_UNUSED( volume ); |
|
224 } |
|
225 |
|
226 // ------------------------------------------------------------------------------------------------- |
|
227 // QMPXVideoPlaybackControlsController::showVolumeControls() |
|
228 // ------------------------------------------------------------------------------------------------- |
|
229 // |
|
230 void QMPXVideoPlaybackControlsController::showVolumeControls() |
|
231 { |
|
232 |
|
233 } |
|
234 |
|
235 // ------------------------------------------------------------------------------------------------- |
|
236 // QMPXVideoPlaybackControlsController::durationChanged() |
|
237 // ------------------------------------------------------------------------------------------------- |
|
238 // |
|
239 void QMPXVideoPlaybackControlsController::durationChanged( int duration ) |
|
240 { |
|
241 Q_UNUSED( duration ); |
|
242 } |
|
243 |
|
244 // ------------------------------------------------------------------------------------------------- |
|
245 // QMPXVideoPlaybackControlsController::positionChanged() |
|
246 // ------------------------------------------------------------------------------------------------- |
|
247 // |
|
248 void QMPXVideoPlaybackControlsController::positionChanged( int position ) |
|
249 { |
|
250 Q_UNUSED( position ); |
|
251 } |
|
252 |
|
253 // ------------------------------------------------------------------------------------------------- |
|
254 // QMPXVideoPlaybackControlsController::aspectRatioChanged() |
|
255 // ------------------------------------------------------------------------------------------------- |
|
256 // |
|
257 void QMPXVideoPlaybackControlsController::aspectRatioChanged( int aspectRatio ) |
|
258 { |
|
259 Q_UNUSED( aspectRatio ); |
|
260 } |
|
261 |
|
262 // ------------------------------------------------------------------------------------------------- |
|
263 // QMPXVideoPlaybackControlsController::realFormat() |
|
264 // ------------------------------------------------------------------------------------------------- |
|
265 // |
|
266 bool QMPXVideoPlaybackControlsController::realFormat( QString filename ) |
|
267 { |
|
268 Q_UNUSED( filename ); |
|
269 } |
|
270 |
|
271 // ------------------------------------------------------------------------------------------------- |
|
272 // QMPXVideoPlaybackControlsController::realFormatForStreaming() |
|
273 // ------------------------------------------------------------------------------------------------- |
|
274 // |
|
275 bool QMPXVideoPlaybackControlsController::realFormatForStreaming( const TDesC& des ) |
|
276 { |
|
277 Q_UNUSED( des ); |
|
278 bool realFormat = false; |
|
279 return realFormat; |
|
280 } |
|
281 |
|
282 // ------------------------------------------------------------------------------------------------- |
|
283 // QMPXVideoPlaybackControlsController::realFormatForLocal() |
|
284 // ------------------------------------------------------------------------------------------------- |
|
285 // |
|
286 bool QMPXVideoPlaybackControlsController::realFormatForLocal() |
|
287 { |
|
288 bool realFormat = false; |
|
289 |
|
290 return realFormat; |
|
291 } |
|
292 |
|
293 // ------------------------------------------------------------------------------------------------- |
|
294 // QMPXVideoPlaybackControlsController::setDownloadSize() |
|
295 // ------------------------------------------------------------------------------------------------- |
|
296 // |
|
297 void QMPXVideoPlaybackControlsController::setDownloadSize( int size ) |
|
298 { |
|
299 Q_UNUSED( size ); |
|
300 } |
|
301 |
|
302 // ------------------------------------------------------------------------------------------------- |
|
303 // QMPXVideoPlaybackControlsController::updateDownloadPosition() |
|
304 // ------------------------------------------------------------------------------------------------- |
|
305 // |
|
306 void QMPXVideoPlaybackControlsController::updateDownloadPosition( int size ) |
|
307 { |
|
308 Q_UNUSED( size ); |
|
309 } |
|
310 |
|
311 // ------------------------------------------------------------------------------------------------- |
|
312 // QMPXVideoPlaybackControlsController::handleErrors |
|
313 // ------------------------------------------------------------------------------------------------- |
|
314 // |
|
315 void QMPXVideoPlaybackControlsController::handleErrors() |
|
316 { |
|
317 |
|
318 } |
|
319 |
|
320 // ------------------------------------------------------------------------------------------------- |
|
321 // QMPXVideoPlaybackControlsController::isSoftKeyVisible() |
|
322 // ------------------------------------------------------------------------------------------------- |
|
323 // |
|
324 bool QMPXVideoPlaybackControlsController::isSoftKeyVisible( int /*value*/ ) |
|
325 { |
125 { |
326 |
126 |
327 } |
127 } |
328 |
128 |
329 // ------------------------------------------------------------------------------------------------- |
129 // ------------------------------------------------------------------------------------------------- |