browserutilities/downloadmgr/DownloadMgrUiLib/Src/CDownloadMgrUiUserInteractions.cpp
changeset 16 a359256acfc6
parent 0 dd21522fd290
child 36 0ed94ceaa377
--- a/browserutilities/downloadmgr/DownloadMgrUiLib/Src/CDownloadMgrUiUserInteractions.cpp	Fri Jul 03 15:54:40 2009 +0100
+++ b/browserutilities/downloadmgr/DownloadMgrUiLib/Src/CDownloadMgrUiUserInteractions.cpp	Thu Aug 27 07:44:59 2009 +0300
@@ -266,7 +266,8 @@
 CDownloadMgrUiUserInteractions::CDownloadMgrUiUserInteractions
     ( CDownloadMgrUiLibRegistry& aRegistryModel )
 :   CDownloadMgrUiBase( aRegistryModel ),
-    iDlgActive ( EFalse )
+    iDlgActive ( EFalse ),
+    iProgressiveDownloadLaunched ( EFalse )
     {
     }
 
@@ -500,7 +501,7 @@
     CLOG_ENTERFN("CDownloadMgrUiUserInteractions::PrepareToExit");
 
     // send a message to all running PD applications and tell that browser is exiting
-    TRAP_IGNORE( iUiUtils->SendMsgTerminateToPdAppsL());
+    TRAP_IGNORE( iUiUtils->SendMsgTerminateToPdAppsL( iProgressiveDownloadLaunched ));
 
     TRAPD( err, PrepareToExitL( &aAppUi, aExitType, aViewId, aCustomMessageId, 
                                 aViewActivationMsg ) );
@@ -522,7 +523,7 @@
     CLOG_ENTERFN("CDownloadMgrUiUserInteractions::PrepareToExit 2");
 
     // send a message to all running PD applications and tell that browser is exiting
-    TRAP_IGNORE( iUiUtils->SendMsgTerminateToPdAppsL());
+    TRAP_IGNORE( iUiUtils->SendMsgTerminateToPdAppsL( iProgressiveDownloadLaunched ));
 
     // Convert parameters to the necessary form
     TVwsViewId viewId( TUid::Uid(aAppUid), TUid::Uid(aViewId) );