equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: CMpxVideoPlayerAppUiEngine |
14 * Description: CMpxVideoPlayerAppUiEngine |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: 5 % |
18 // Version : %version: 8 % |
19 |
19 |
20 |
20 |
21 |
21 |
22 #ifndef CMPXVIDEOPLAYERAPPUIENGINE_H |
22 #ifndef CMPXVIDEOPLAYERAPPUIENGINE_H |
23 #define CMPXVIDEOPLAYERAPPUIENGINE_H |
23 #define CMPXVIDEOPLAYERAPPUIENGINE_H |
35 #include <mpxcollectionuihelperobserver.h> |
35 #include <mpxcollectionuihelperobserver.h> |
36 |
36 |
37 class CMPXCommonUiHelper; |
37 class CMPXCommonUiHelper; |
38 class MMPXCollectionUiHelper; |
38 class MMPXCollectionUiHelper; |
39 class CVideoPlaylistUtility; |
39 class CVideoPlaylistUtility; |
40 class QMpxVideoPlaybackWrapper; |
40 class VideoPlaybackWrapper; |
41 |
41 |
42 /** |
42 /** |
43 * Application UI class. |
43 * Application UI class. |
44 * |
44 * |
45 * @lib mpxvideoplayer.exe |
45 * @lib mpxvideoplayer.exe |
50 public MMPXViewActivationObserver, |
50 public MMPXViewActivationObserver, |
51 public MMPXCollectionObserver , |
51 public MMPXCollectionObserver , |
52 public MMPXCHelperEmbeddedOpenObserver |
52 public MMPXCHelperEmbeddedOpenObserver |
53 { |
53 { |
54 public: // Constructors and destructor |
54 public: // Constructors and destructor |
55 static CMpxVideoPlayerAppUiEngine* NewL( QMpxVideoPlaybackWrapper* aWrapper ); |
55 static CMpxVideoPlayerAppUiEngine* NewL( VideoPlaybackWrapper* aWrapper ); |
56 |
56 |
57 /** |
57 /** |
58 * Destructor. |
58 * Destructor. |
59 */ |
59 */ |
60 virtual ~CMpxVideoPlayerAppUiEngine(); |
60 virtual ~CMpxVideoPlayerAppUiEngine(); |
198 * Late initializatoin of members that can be delayed |
198 * Late initializatoin of members that can be delayed |
199 * to help improve startup time |
199 * to help improve startup time |
200 * @since 10.1 |
200 * @since 10.1 |
201 */ |
201 */ |
202 void LateInitL(); |
202 void LateInitL(); |
|
203 |
|
204 TInt ReplayAfterPriorTermination(const TDesC& aFileName); |
|
205 |
|
206 /* |
|
207 * converts provided error code to a string |
|
208 * @since 10.1 |
|
209 * @param aErrorCode error code to be converted |
|
210 */ |
|
211 const TDesC& ResolveErrorStringL(TInt aErrorCode); |
203 |
212 |
204 private: |
213 private: |
205 /** |
214 /** |
206 * Constructor |
215 * Constructor |
207 */ |
216 */ |
208 CMpxVideoPlayerAppUiEngine( QMpxVideoPlaybackWrapper* aWrapper ); |
217 CMpxVideoPlayerAppUiEngine( VideoPlaybackWrapper* aWrapper ); |
209 |
218 |
210 /** |
219 /** |
211 * By default Symbian 2nd phase constructor is private. |
220 * By default Symbian 2nd phase constructor is private. |
212 */ |
221 */ |
213 void ConstructL(); |
222 void ConstructL(); |
245 * used to send media info to plugin |
254 * used to send media info to plugin |
246 */ |
255 */ |
247 void UpdatePbPluginMediaL(); |
256 void UpdatePbPluginMediaL(); |
248 |
257 |
249 void ActivateVideoPlaybackView(); |
258 void ActivateVideoPlaybackView(); |
|
259 |
|
260 void ReadActivityData(); |
250 |
261 |
251 private: // data |
262 private: // data |
252 |
263 |
253 // |
264 // |
254 // Owned Utilities |
265 // Owned Utilities |
255 // |
266 // |
256 MMPXPlaybackUtility* iPlaybackUtility; |
267 MMPXPlaybackUtility* iPlaybackUtility; |
257 MMPXCollectionUtility* iCollectionUtility; |
268 MMPXCollectionUtility* iCollectionUtility; |
258 MMPXCollectionUiHelper* iCollectionUiHelper; // own |
269 MMPXCollectionUiHelper* iCollectionUiHelper; // own |
259 |
270 |
260 TUid iVideoCollectionId; |
271 TUid iVideoCollectionId; |
261 |
272 |
262 CMediaRecognizer* iRecognizer; // own |
273 CMediaRecognizer* iRecognizer; // own |
263 |
274 |
264 TInt iAccessPointId; |
275 TInt iAccessPointId; |
265 TBool iMultilinkPlaylist; |
276 TBool iMultilinkPlaylist; |
266 TBool iSeekable; |
277 TBool iSeekable; |
267 TBool iUpdateSeekInfo; |
278 TBool iUpdateSeekInfo; |
268 |
279 |
269 QMpxVideoPlaybackWrapper* iPlaybackWrapper; |
280 VideoPlaybackWrapper* iPlaybackWrapper; |
|
281 TUint32 iLastPlayedItemId; |
270 }; |
282 }; |
271 |
283 |
272 // |
284 // |
273 // Inline methods |
285 // Inline methods |
274 // |
286 // |