equal
deleted
inserted
replaced
14 * Description: AppUI engine implementation |
14 * Description: AppUI engine implementation |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 // Version : %version: da1mmcf#72 % |
19 // Version : %version: 73 % |
20 |
20 |
21 |
21 |
22 #include <eikon.hrh> |
22 #include <eikon.hrh> |
23 #include <avkon.hrh> |
23 #include <avkon.hrh> |
24 #include <aknview.h> |
24 #include <aknview.h> |
50 #include "mpxvideoplayerconstants.h" |
50 #include "mpxvideoplayerconstants.h" |
51 #include "mpxvideoembeddedpdlhandler.h" |
51 #include "mpxvideoembeddedpdlhandler.h" |
52 #include <mpxvideoplaybackdefs.h> |
52 #include <mpxvideoplaybackdefs.h> |
53 #include "mpxvideo_debug.h" |
53 #include "mpxvideo_debug.h" |
54 #include "mpxvideoplayercustomviewmsgconsts.h" |
54 #include "mpxvideoplayercustomviewmsgconsts.h" |
|
55 #include "mpxvideoplayeriadupdate.h" |
55 |
56 |
56 const TInt KMpxPlaybackPluginTypeUid = 0x101FFCA0; |
57 const TInt KMpxPlaybackPluginTypeUid = 0x101FFCA0; |
57 |
58 |
58 // ----------------------------------------------------------------------------- |
59 // ----------------------------------------------------------------------------- |
59 // CMpxVideoPlayerAppUiEngine::CMpxVideoPlayerAppUiEngine |
60 // CMpxVideoPlayerAppUiEngine::CMpxVideoPlayerAppUiEngine |
202 // |
203 // |
203 CMpxVideoPlayerAppUiEngine::~CMpxVideoPlayerAppUiEngine() |
204 CMpxVideoPlayerAppUiEngine::~CMpxVideoPlayerAppUiEngine() |
204 { |
205 { |
205 MPX_ENTER_EXIT(_L("CMpxVideoPlayerAppUiEngine::~CMpxVideoPlayerAppUiEngine()")); |
206 MPX_ENTER_EXIT(_L("CMpxVideoPlayerAppUiEngine::~CMpxVideoPlayerAppUiEngine()")); |
206 |
207 |
|
208 if ( iIadUpdate ) |
|
209 { |
|
210 delete iIadUpdate; |
|
211 iIadUpdate = NULL; |
|
212 } |
|
213 |
207 if ( iConstructTimer ) |
214 if ( iConstructTimer ) |
208 { |
215 { |
209 delete iConstructTimer; |
216 delete iConstructTimer; |
210 iConstructTimer = NULL; |
217 iConstructTimer = NULL; |
211 } |
218 } |
1177 { |
1184 { |
1178 MPX_ENTER_EXIT(_L("CMpxVideoPlayerAppUiEngine::DoLateConstructL()")); |
1185 MPX_ENTER_EXIT(_L("CMpxVideoPlayerAppUiEngine::DoLateConstructL()")); |
1179 |
1186 |
1180 iConstructTimer->Cancel(); |
1187 iConstructTimer->Cancel(); |
1181 |
1188 |
|
1189 DoCheckForUpdatesL(); |
|
1190 |
1182 PlaybackUtilityL(); |
1191 PlaybackUtilityL(); |
1183 } |
1192 } |
1184 |
1193 |
|
1194 // --------------------------------------------------------------------------- |
|
1195 // Checks for updates via IAD |
|
1196 // --------------------------------------------------------------------------- |
|
1197 // |
|
1198 void CMpxVideoPlayerAppUiEngine::DoCheckForUpdatesL() |
|
1199 { |
|
1200 MPX_ENTER_EXIT(_L("CMpxVideoPlayerAppUiEngine::DoCheckForUpdatesL()")); |
|
1201 |
|
1202 if ( !iIadUpdate ) |
|
1203 { |
|
1204 iIadUpdate = CMpxVideoPlayerIadUpdate::NewL( *iViewUtility ); |
|
1205 } |
|
1206 iIadUpdate->StartL(); |
|
1207 } |
|
1208 |
1185 // EOF |
1209 // EOF |