40 |
40 |
41 class CMpxVideoEmbeddedPdlHandler; |
41 class CMpxVideoEmbeddedPdlHandler; |
42 class MMPXCollectionUiHelper; |
42 class MMPXCollectionUiHelper; |
43 class CAiwGenericParamList; |
43 class CAiwGenericParamList; |
44 class CVideoPlaylistUtility; |
44 class CVideoPlaylistUtility; |
45 class RConnection; |
|
46 |
45 |
47 /** |
46 /** |
48 * Application UI class. |
47 * Application UI class. |
49 * |
48 * |
50 * @lib mpxvideoplayer.exe |
49 * @lib mpxvideoplayer.exe |
95 * Activate the proper playback view |
94 * Activate the proper playback view |
96 */ |
95 */ |
97 void ActivatePlaybackViewL(); |
96 void ActivatePlaybackViewL(); |
98 |
97 |
99 /** |
98 /** |
100 * Sets mpx components ready for application shutdown |
|
101 */ |
|
102 void PrepareCloseMpxL(); |
|
103 |
|
104 /** |
|
105 * Sets AppUiEngine in stand alone "mode" |
99 * Sets AppUiEngine in stand alone "mode" |
106 */ |
100 */ |
107 void StartStandAloneL(); |
101 void StartStandAloneL(); |
108 |
102 |
109 /** |
103 /** |
113 |
107 |
114 /** |
108 /** |
115 * Steps one level up in collection path |
109 * Steps one level up in collection path |
116 */ |
110 */ |
117 void StepBackCollectionPathL(); |
111 void StepBackCollectionPathL(); |
118 |
|
119 /** |
|
120 * Process activation message. |
|
121 * @param aMsg reference to activation message |
|
122 */ |
|
123 void ProcessActivationMessageL( const TDesC8 &aMsg ); |
|
124 |
112 |
125 /* |
113 /* |
126 * Handle embedded playback message |
114 * Handle embedded playback message |
127 * @param aMessageUid message identification uid |
115 * @param aMessageUid message identification uid |
128 * @param aMessageParameters aiw generic parameters |
116 * @param aMessageParameters aiw generic parameters |
230 */ |
218 */ |
231 TInt ViewHistoryDepth(); |
219 TInt ViewHistoryDepth(); |
232 |
220 |
233 void ClearPdlInformation(); |
221 void ClearPdlInformation(); |
234 |
222 |
235 /** |
|
236 * Checks if application has to exit to Matrix root menu |
|
237 */ |
|
238 TBool ExitToMatrixMenu(); |
|
239 |
|
240 void InitializeFileL( const TDesC& aFileName ); |
223 void InitializeFileL( const TDesC& aFileName ); |
241 |
224 |
242 void ClosePlaybackPluginL(); |
225 void ClosePlaybackPluginL(); |
|
226 |
|
227 void SignalViewPdlReloading(); |
243 |
228 |
244 private: |
229 private: |
245 /** |
230 /** |
246 * Constructor |
231 * Constructor |
247 */ |
232 */ |
269 TBool aLocalFile ); |
254 TBool aLocalFile ); |
270 |
255 |
271 TPtrC GetLinkLC( const TDesC& aFileName, |
256 TPtrC GetLinkLC( const TDesC& aFileName, |
272 CMediaRecognizer::TMediaType aMediaType, |
257 CMediaRecognizer::TMediaType aMediaType, |
273 TBool aUseFileHandle = EFalse ); |
258 TBool aUseFileHandle = EFalse ); |
274 |
|
275 /* |
|
276 * Sets the access point member variable |
|
277 */ |
|
278 void SetAccessPointL(); |
|
279 |
|
280 /** |
|
281 * Checks if the the AP is WLAN |
|
282 * |
|
283 * @param aAPId - the ID of access point to be evaluated |
|
284 * @return ETrue if the bearer type is WLAN for this access point |
|
285 */ |
|
286 TBool IsWLANAccessPointL(TInt aAPId); |
|
287 |
|
288 /** |
|
289 * Reads the default AP |
|
290 * |
|
291 * @return ID of the default Access Point read from the config file |
|
292 */ |
|
293 TInt GetDefaultAccessPointL(); |
|
294 |
|
295 /** |
|
296 * Converts UID of the AP to and Access Point Id |
|
297 * |
|
298 * @return ID of the Access Point |
|
299 */ |
|
300 TInt GetAccessPointIdForUIDL(TUint32 aAPUid); |
|
301 |
|
302 /** |
|
303 * Tries to get AP ID for connection. |
|
304 * If default AP is not available, AP is queried from the user. |
|
305 * |
|
306 * @return ID of the Access Point |
|
307 */ |
|
308 TUint32 TryToGetAccessPointL(); |
|
309 |
259 |
310 TInt HandleAiwGenericParamListL( const CAiwGenericParamList* aParams ); |
260 TInt HandleAiwGenericParamListL( const CAiwGenericParamList* aParams ); |
311 |
261 |
312 /** |
262 /** |
313 * Handle collection message |
263 * Handle collection message |
337 |
287 |
338 /* |
288 /* |
339 * used to send media info to plugin |
289 * used to send media info to plugin |
340 */ |
290 */ |
341 void UpdatePbPluginMediaL(); |
291 void UpdatePbPluginMediaL(); |
342 |
|
343 /* |
|
344 * Sends custom command to active view |
|
345 * |
|
346 * @param aMsg custom message data |
|
347 */ |
|
348 void SendCustomCommandToActiveViewL( const TDesC8& aMsg ); |
|
349 |
|
350 /* |
|
351 * Gets IAP ID from active connection. |
|
352 * |
|
353 * @param aConn Connection to query. |
|
354 */ |
|
355 TUint32 QueryIap( RConnection& aConn ); |
|
356 |
292 |
357 void InitializeStreamingLinkL( const TDesC& aUri ); |
293 void InitializeStreamingLinkL( const TDesC& aUri ); |
358 void InitializePlaylistL( const CMPXCollectionPlaylist& aPlaylist, TBool aPlay ); |
294 void InitializePlaylistL( const CMPXCollectionPlaylist& aPlaylist, TBool aPlay ); |
359 |
295 |
360 private: // data |
296 private: // data |
374 CIdle* iExitAo; |
310 CIdle* iExitAo; |
375 CMediaRecognizer* iRecognizer; // own |
311 CMediaRecognizer* iRecognizer; // own |
376 CMpxVideoEmbeddedPdlHandler* iPdlHandler; // own |
312 CMpxVideoEmbeddedPdlHandler* iPdlHandler; // own |
377 |
313 |
378 TInt iAccessPointId; |
314 TInt iAccessPointId; |
379 TInt iExtAccessPointId; |
|
380 TBool iMultilinkPlaylist; |
315 TBool iMultilinkPlaylist; |
381 TBool iSeekable; |
316 TBool iSeekable; |
382 TBool iUpdateSeekInfo; |
317 TBool iUpdateSeekInfo; |
383 TBool iExitToMatrixMenu; |
|
384 }; |
318 }; |
385 |
319 |
386 // |
320 // |
387 // Inline methods |
321 // Inline methods |
388 // |
322 // |