80 mFileDetails = NULL; |
74 mFileDetails = NULL; |
81 } |
75 } |
82 } |
76 } |
83 |
77 |
84 // ------------------------------------------------------------------------------------------------- |
78 // ------------------------------------------------------------------------------------------------- |
85 // QMPXVideoPlaybackControlsController::handleEvent |
|
86 // ------------------------------------------------------------------------------------------------- |
|
87 // |
|
88 void QMPXVideoPlaybackControlsController::handleEvent( |
|
89 TMPXVideoPlaybackControlCommandIds event, int value ) |
|
90 { |
|
91 switch ( event ) |
|
92 { |
|
93 case EMPXControlCmdTvOutConnected: |
|
94 { |
|
95 handleTvOutEvent( true, event, value ); |
|
96 break; |
|
97 } |
|
98 case EMPXControlCmdTvOutDisconnected: |
|
99 { |
|
100 handleTvOutEvent( false, event, value ); |
|
101 break; |
|
102 } |
|
103 case EMPXControlCmdSetVolume: |
|
104 { |
|
105 mFileDetails->mAudioEnabled = false; |
|
106 break; |
|
107 } |
|
108 case EMPXControlCmdSetDuration: |
|
109 { |
|
110 mFileDetails->mDuration = value; |
|
111 break; |
|
112 } |
|
113 case EMPXControlCmdShowVolumeControls: |
|
114 { |
|
115 mFileDetails->mAudioEnabled = true; |
|
116 break; |
|
117 } |
|
118 case EMPXControlCmdSetPosition: |
|
119 { |
|
120 mFileDetails->mSeekable = true; |
|
121 break; |
|
122 } |
|
123 } |
|
124 } |
|
125 |
|
126 // ------------------------------------------------------------------------------------------------- |
|
127 // QMPXVideoPlaybackControlsController::handleStateChange |
|
128 // ------------------------------------------------------------------------------------------------- |
|
129 // |
|
130 void QMPXVideoPlaybackControlsController::handleStateChange( TMPXPlaybackState newState ) |
|
131 { |
|
132 Q_UNUSED( newState ); |
|
133 } |
|
134 |
|
135 // ------------------------------------------------------------------------------------------------- |
|
136 // QMPXVideoPlaybackControlsController::controlsListUpdated() |
|
137 // ------------------------------------------------------------------------------------------------- |
|
138 // |
|
139 void QMPXVideoPlaybackControlsController::controlsListUpdated() |
|
140 { |
|
141 |
|
142 } |
|
143 |
|
144 // ------------------------------------------------------------------------------------------------- |
|
145 // QMPXVideoPlaybackControlsController::appendControl() |
|
146 // ------------------------------------------------------------------------------------------------- |
|
147 // |
|
148 void QMPXVideoPlaybackControlsController::appendControl( TMPXVideoPlaybackControls controlIndex ) |
|
149 { |
|
150 Q_UNUSED( controlIndex ); |
|
151 } |
|
152 |
|
153 // ------------------------------------------------------------------------------------------------- |
|
154 // QMPXVideoPlaybackControlsController::resetDisappearingTimers() |
79 // QMPXVideoPlaybackControlsController::resetDisappearingTimers() |
155 // ------------------------------------------------------------------------------------------------- |
80 // ------------------------------------------------------------------------------------------------- |
156 // |
81 // |
157 void QMPXVideoPlaybackControlsController::resetDisappearingTimers( TMPXTimerAction timerAction ) |
82 void QMPXVideoPlaybackControlsController::resetDisappearingTimers( TMPXTimerAction timerAction ) |
158 { |
83 { |
|
84 MPX_DEBUG(_L("QMPXVideoPlaybackControlsController::resetDisappearingTimers") ); |
|
85 |
159 mTimerAction = timerAction; |
86 mTimerAction = timerAction; |
160 } |
|
161 |
|
162 // ------------------------------------------------------------------------------------------------- |
|
163 // QMPXVideoPlaybackControlsController::hideAllControls() |
|
164 // ------------------------------------------------------------------------------------------------- |
|
165 // |
|
166 void QMPXVideoPlaybackControlsController::hideAllControls() |
|
167 { |
|
168 |
|
169 } |
|
170 |
|
171 // ------------------------------------------------------------------------------------------------- |
|
172 // QMPXVideoPlaybackControlsController::showControls() |
|
173 // ------------------------------------------------------------------------------------------------- |
|
174 // |
|
175 void QMPXVideoPlaybackControlsController::showControls() |
|
176 { |
|
177 |
|
178 } |
|
179 |
|
180 // ------------------------------------------------------------------------------------------------- |
|
181 // QMPXVideoPlaybackControlsController::isVisible() |
|
182 // ------------------------------------------------------------------------------------------------- |
|
183 // |
|
184 bool QMPXVideoPlaybackControlsController::isVisible() |
|
185 { |
|
186 return false; |
|
187 } |
87 } |
188 |
88 |
189 // ------------------------------------------------------------------------------------------------- |
89 // ------------------------------------------------------------------------------------------------- |
190 // QMPXVideoPlaybackControlsController::handleCommand() |
90 // QMPXVideoPlaybackControlsController::handleCommand() |
191 // ------------------------------------------------------------------------------------------------- |
91 // ------------------------------------------------------------------------------------------------- |
192 // |
92 // |
193 void QMPXVideoPlaybackControlsController::handleCommand( |
93 void QMPXVideoPlaybackControlsController::handleCommand( |
194 TMPXVideoPlaybackViewCommandIds command, int value ) |
94 TMPXVideoPlaybackViewCommandIds command, int value ) |
195 { |
95 { |
196 Q_UNUSED( command ); |
96 MPX_DEBUG(_L("QMPXVideoPlaybackControlsController::handleCommand") ); |
197 Q_UNUSED( value ); |
|
198 } |
|
199 |
97 |
200 // ------------------------------------------------------------------------------------------------- |
98 mCommand = command; |
201 // QMPXVideoPlaybackControlsController::volumeChanged() |
99 mValue = value; |
202 // ------------------------------------------------------------------------------------------------- |
|
203 // |
|
204 void QMPXVideoPlaybackControlsController::volumeChanged( int volume ) |
|
205 { |
|
206 Q_UNUSED( volume ); |
|
207 } |
|
208 |
|
209 // ------------------------------------------------------------------------------------------------- |
|
210 // QMPXVideoPlaybackControlsController::showVolumeControls() |
|
211 // ------------------------------------------------------------------------------------------------- |
|
212 // |
|
213 void QMPXVideoPlaybackControlsController::showVolumeControls() |
|
214 { |
|
215 |
|
216 } |
|
217 |
|
218 // ------------------------------------------------------------------------------------------------- |
|
219 // QMPXVideoPlaybackControlsController::durationChanged() |
|
220 // ------------------------------------------------------------------------------------------------- |
|
221 // |
|
222 void QMPXVideoPlaybackControlsController::durationChanged( int duration ) |
|
223 { |
|
224 Q_UNUSED( duration ); |
|
225 } |
|
226 |
|
227 // ------------------------------------------------------------------------------------------------- |
|
228 // QMPXVideoPlaybackControlsController::positionChanged() |
|
229 // ------------------------------------------------------------------------------------------------- |
|
230 // |
|
231 void QMPXVideoPlaybackControlsController::positionChanged( int position ) |
|
232 { |
|
233 Q_UNUSED( position ); |
|
234 } |
|
235 |
|
236 // ------------------------------------------------------------------------------------------------- |
|
237 // QMPXVideoPlaybackControlsController::aspectRatioChanged() |
|
238 // ------------------------------------------------------------------------------------------------- |
|
239 // |
|
240 void QMPXVideoPlaybackControlsController::aspectRatioChanged( int aspectRatio ) |
|
241 { |
|
242 Q_UNUSED( aspectRatio ); |
|
243 } |
|
244 |
|
245 // ------------------------------------------------------------------------------------------------- |
|
246 // QMPXVideoPlaybackControlsController::realFormat() |
|
247 // ------------------------------------------------------------------------------------------------- |
|
248 // |
|
249 bool QMPXVideoPlaybackControlsController::realFormat( QString filename ) |
|
250 { |
|
251 Q_UNUSED( filename ); |
|
252 return false; |
|
253 } |
|
254 |
|
255 // ------------------------------------------------------------------------------------------------- |
|
256 // QMPXVideoPlaybackControlsController::realFormatForStreaming() |
|
257 // ------------------------------------------------------------------------------------------------- |
|
258 // |
|
259 bool QMPXVideoPlaybackControlsController::realFormatForStreaming( const TDesC& des ) |
|
260 { |
|
261 Q_UNUSED( des ); |
|
262 bool realFormat = false; |
|
263 return realFormat; |
|
264 } |
|
265 |
|
266 // ------------------------------------------------------------------------------------------------- |
|
267 // QMPXVideoPlaybackControlsController::realFormatForLocal() |
|
268 // ------------------------------------------------------------------------------------------------- |
|
269 // |
|
270 bool QMPXVideoPlaybackControlsController::realFormatForLocal() |
|
271 { |
|
272 bool realFormat = false; |
|
273 |
|
274 return realFormat; |
|
275 } |
|
276 |
|
277 // ------------------------------------------------------------------------------------------------- |
|
278 // QMPXVideoPlaybackControlsController::setDownloadSize() |
|
279 // ------------------------------------------------------------------------------------------------- |
|
280 // |
|
281 void QMPXVideoPlaybackControlsController::setDownloadSize( int size ) |
|
282 { |
|
283 Q_UNUSED( size ); |
|
284 } |
|
285 |
|
286 // ------------------------------------------------------------------------------------------------- |
|
287 // QMPXVideoPlaybackControlsController::updateDownloadPosition() |
|
288 // ------------------------------------------------------------------------------------------------- |
|
289 // |
|
290 void QMPXVideoPlaybackControlsController::updateDownloadPosition( int size ) |
|
291 { |
|
292 Q_UNUSED( size ); |
|
293 } |
|
294 |
|
295 // ------------------------------------------------------------------------------------------------- |
|
296 // QMPXVideoPlaybackControlsController::handleErrors |
|
297 // ------------------------------------------------------------------------------------------------- |
|
298 // |
|
299 void QMPXVideoPlaybackControlsController::handleErrors() |
|
300 { |
|
301 |
|
302 } |
|
303 |
|
304 // ------------------------------------------------------------------------------------------------- |
|
305 // QMPXVideoPlaybackControlsController::isSoftKeyVisible() |
|
306 // ------------------------------------------------------------------------------------------------- |
|
307 // |
|
308 bool QMPXVideoPlaybackControlsController::isSoftKeyVisible( int /*value*/ ) |
|
309 { |
|
310 return false; |
|
311 } |
|
312 |
|
313 // ------------------------------------------------------------------------------------------------- |
|
314 // QMPXVideoPlaybackControlsController::handleTvOutEvent |
|
315 // ------------------------------------------------------------------------------------------------- |
|
316 // |
|
317 void QMPXVideoPlaybackControlsController::handleTvOutEvent( |
|
318 bool connected, TMPXVideoPlaybackControlCommandIds event, int value ) |
|
319 { |
|
320 Q_UNUSED( event ); |
|
321 Q_UNUSED( value ); |
|
322 mFileDetails->mTvOutConnected = connected; |
|
323 } |
|
324 |
|
325 // ------------------------------------------------------------------------------------------------- |
|
326 // QMPXVideoPlaybackControlsController::updateVideoRectDone |
|
327 // ------------------------------------------------------------------------------------------------- |
|
328 // |
|
329 void QMPXVideoPlaybackControlsController::updateVideoRectDone() |
|
330 { |
|
331 mViewTransitionIsGoingOn = false; |
|
332 |
|
333 } |
|
334 |
|
335 |
|
336 // ------------------------------------------------------------------------------------------------- |
|
337 // QMPXVideoPlaybackControlsController::skipToPreviousVideoItem |
|
338 // ------------------------------------------------------------------------------------------------- |
|
339 // |
|
340 void QMPXVideoPlaybackControlsController::skipToPreviousVideoItem() |
|
341 { |
|
342 } |
|
343 |
|
344 // ------------------------------------------------------------------------------------------------- |
|
345 // QMPXVideoPlaybackControlsController::skipToNextVideoItem |
|
346 // ------------------------------------------------------------------------------------------------- |
|
347 // |
|
348 void QMPXVideoPlaybackControlsController::skipToNextVideoItem() |
|
349 { |
|
350 |
|
351 } |
|
352 |
|
353 // ------------------------------------------------------------------------------------------------- |
|
354 // QMPXVideoPlaybackControlsController::updateVideoRect() |
|
355 // ------------------------------------------------------------------------------------------------- |
|
356 // |
|
357 void QMPXVideoPlaybackControlsController::updateVideoRect( bool transitionEffect ) |
|
358 { |
|
359 Q_UNUSED( transitionEffect ); |
|
360 } |
|
361 |
|
362 // ------------------------------------------------------------------------------------------------- |
|
363 // QMPXVideoPlaybackControlsController::handleTappedOnScreen() |
|
364 // ------------------------------------------------------------------------------------------------- |
|
365 // |
|
366 void QMPXVideoPlaybackControlsController::handleTappedOnScreen() |
|
367 { |
|
368 |
|
369 } |
|
370 |
|
371 // ------------------------------------------------------------------------------------------------- |
|
372 // QMPXVideoPlaybackControlsController::changeViewMode |
|
373 // ------------------------------------------------------------------------------------------------- |
|
374 // |
|
375 void QMPXVideoPlaybackControlsController::changeViewMode( |
|
376 TPlaybackViewMode viewMode, bool transitionEffect ) |
|
377 { |
|
378 MPX_DEBUG(_L("QMPXVideoPlaybackControlsController::changeViewMode()")); |
|
379 |
|
380 Q_UNUSED( transitionEffect ); |
|
381 mViewMode = viewMode; |
|
382 } |
100 } |
383 |
101 |
384 // ------------------------------------------------------------------------------------------------- |
102 // ------------------------------------------------------------------------------------------------- |
385 // QMPXVideoPlaybackControlsController::layoutLoader |
103 // QMPXVideoPlaybackControlsController::layoutLoader |
386 // ------------------------------------------------------------------------------------------------- |
104 // ------------------------------------------------------------------------------------------------- |
387 // |
105 // |
388 QMPXVideoPlaybackDocumentLoader* QMPXVideoPlaybackControlsController::layoutLoader() |
106 QMPXVideoPlaybackDocumentLoader* QMPXVideoPlaybackControlsController::layoutLoader() |
389 { |
107 { |
|
108 MPX_DEBUG(_L("QMPXVideoPlaybackControlsController::layoutLoader") ); |
|
109 |
390 return mLoader; |
110 return mLoader; |
391 } |
111 } |
392 |
112 |
393 // ------------------------------------------------------------------------------------------------- |
113 // ------------------------------------------------------------------------------------------------- |
394 // QMPXVideoPlaybackControlsController::viewMode |
114 // QMPXVideoPlaybackControlsController::viewMode |
395 // ------------------------------------------------------------------------------------------------- |
115 // ------------------------------------------------------------------------------------------------- |
396 // |
116 // |
397 TPlaybackViewMode QMPXVideoPlaybackControlsController::viewMode() |
117 TPlaybackViewMode QMPXVideoPlaybackControlsController::viewMode() |
398 { |
118 { |
|
119 MPX_DEBUG(_L("QMPXVideoPlaybackControlsController::viewMode") ); |
|
120 |
399 return mViewMode; |
121 return mViewMode; |
400 } |
122 } |
401 |
123 |
402 |
|
403 // End of File |
124 // End of File |