equal
deleted
inserted
replaced
14 * Description: Handles PDL commands passed in by other appilcations |
14 * Description: Handles PDL commands passed in by other appilcations |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 // Version : %version: ou1cpsw#14 % |
19 // Version : %version: 15 % |
20 |
20 |
21 |
21 |
22 #include <mpxcommand.h> |
22 #include <mpxcommand.h> |
23 #include <mpxcommandgeneraldefs.h> |
23 #include <mpxcommandgeneraldefs.h> |
24 #include <mpxmessagegeneraldefs.h> |
24 #include <mpxmessagegeneraldefs.h> |
31 #include <mpxviewplugin.h> |
31 #include <mpxviewplugin.h> |
32 |
32 |
33 #include "mpxvideoembeddedpdlhandler.h" |
33 #include "mpxvideoembeddedpdlhandler.h" |
34 #include "mpxvideoplayerappuiengine.h" |
34 #include "mpxvideoplayerappuiengine.h" |
35 #include "mpxvideoplayerconstants.h" |
35 #include "mpxvideoplayerconstants.h" |
|
36 #include "mpxvideoplayercustomviewmsgconsts.h" |
36 #include <mpxvideoplaybackdefs.h> |
37 #include <mpxvideoplaybackdefs.h> |
37 #include "mpxvideo_debug.h" |
38 #include "mpxvideo_debug.h" |
38 |
39 |
39 CMpxVideoEmbeddedPdlHandler* |
40 CMpxVideoEmbeddedPdlHandler* |
40 CMpxVideoEmbeddedPdlHandler::NewL( CMpxVideoPlayerAppUiEngine* aAppUiEngine ) |
41 CMpxVideoEmbeddedPdlHandler::NewL( CMpxVideoPlayerAppUiEngine* aAppUiEngine ) |
98 // If it is, issue a play command to resume playback |
99 // If it is, issue a play command to resume playback |
99 |
100 |
100 if ( ( aDlId == iDownloadId ) && ( ! aFileName.Compare( *iDownloadFileName ) ) ) |
101 if ( ( aDlId == iDownloadId ) && ( ! aFileName.Compare( *iDownloadFileName ) ) ) |
101 { |
102 { |
102 iAppUiEngine->PlaybackUtilityL().CommandL( EPbCmdPlay ); |
103 iAppUiEngine->PlaybackUtilityL().CommandL( EPbCmdPlay ); |
|
104 iAppUiEngine->SendMessageToPdlViewL( KMpxVideoPlaybackPdlReloadComplete ); |
103 } |
105 } |
104 else |
106 else |
105 { |
107 { |
106 // |
108 // |
107 // New download received, close old playback plugin |
109 // New download received, close old playback plugin |
108 // |
110 // |
109 iAppUiEngine->ClosePlaybackPluginL(); |
111 iAppUiEngine->ClosePlaybackPluginL(); |
110 |
112 iAppUiEngine->SendMessageToPdlViewL( KMpxVideoPlaybackPdlReloading ); |
111 iAppUiEngine->SignalViewPdlReloadingL(); |
|
112 |
|
113 StartNewDownloadL( aDlId, aFileName ); |
113 StartNewDownloadL( aDlId, aFileName ); |
114 } |
114 } |
115 } |
115 } |
116 else |
116 else |
117 { |
117 { |