appinstaller/AppinstUi/sisxsifplugin/src/sisxsifpluginactiveimpl.cpp
changeset 69 b18a4bf55ddb
parent 58 67f2119dc623
child 80 9dcba1ee99f7
equal deleted inserted replaced
64:48c14c385b0e 69:b18a4bf55ddb
   102     {
   102     {
   103     FLOG( _L("CSisxSifPluginActiveImpl::DoCancel") );
   103     FLOG( _L("CSisxSifPluginActiveImpl::DoCancel") );
   104 
   104 
   105     if( iClientStatus )
   105     if( iClientStatus )
   106         {
   106         {
       
   107         if( iUiHandler )
       
   108             {
       
   109             iUiHandler->CancelDialogs();
       
   110             }
   107         if( iAsyncLauncher )
   111         if( iAsyncLauncher )
   108             {
   112             {
   109             iAsyncLauncher->CancelOperation();
   113             iAsyncLauncher->CancelOperation();
   110             delete iAsyncLauncher;
       
   111             iAsyncLauncher = NULL;
       
   112             }
   114             }
   113 
       
   114         CompleteClientRequest( KErrCancel );
   115         CompleteClientRequest( KErrCancel );
   115         }
   116         }
   116     }
   117     }
   117 
   118 
   118 // ---------------------------------------------------------------------------
   119 // ---------------------------------------------------------------------------
   542     if( iClientStatus )
   543     if( iClientStatus )
   543         {
   544         {
   544         User::RequestComplete( iClientStatus, aResult );
   545         User::RequestComplete( iClientStatus, aResult );
   545         iClientStatus = NULL;
   546         iClientStatus = NULL;
   546         }
   547         }
   547     __ASSERT_DEBUG( !IsActive(), Panic( ESisxSifInternalError ) );
       
   548     iOperation = ENoOperation;
   548     iOperation = ENoOperation;
   549     iPhase = ENotActive;
   549     iPhase = ENotActive;
   550     }
   550     }
   551 
   551 
   552 // ---------------------------------------------------------------------------
   552 // ---------------------------------------------------------------------------
   635     CommonRequestPreambleL( aInputParams, aOutputParams, aStatus );
   635     CommonRequestPreambleL( aInputParams, aOutputParams, aStatus );
   636 
   636 
   637     TUid uid;
   637     TUid uid;
   638     CComponentEntry *entry = CComponentEntry::NewLC();
   638     CComponentEntry *entry = CComponentEntry::NewLC();
   639     GetComponentAndUidL( aComponentId, *entry, uid );
   639     GetComponentAndUidL( aComponentId, *entry, uid );
   640     iUiHandler->PublishStartL( *entry );
   640     iUiHandler->PublishStartL( *entry, EUninstalling );
   641     CleanupStack::PopAndDestroy( entry );
   641     CleanupStack::PopAndDestroy( entry );
   642 
   642 
   643     iAsyncLauncher->UninstallL( *iUiHandler, uid, iStatus );
   643     iAsyncLauncher->UninstallL( *iUiHandler, uid, iStatus );
   644 
   644 
   645     iOperation = EUninstall;
   645     iOperation = EUninstall;
   894 	TBool driveSelection = rootNode.DriveSeletionRequired();
   894 	TBool driveSelection = rootNode.DriveSeletionRequired();
   895 	iUiHandler->SetDriveSelectionRequired( driveSelection );
   895 	iUiHandler->SetDriveSelectionRequired( driveSelection );
   896 	TInt maxInstalledSize = rootNode.MaxInstalledSize();
   896 	TInt maxInstalledSize = rootNode.MaxInstalledSize();
   897 	iUiHandler->SetMaxInstalledSize( maxInstalledSize );
   897 	iUiHandler->SetMaxInstalledSize( maxInstalledSize );
   898 
   898 
   899 	iUiHandler->PublishStartL( rootNode );
   899 	iUiHandler->PublishStartL( rootNode, EInstalling );
   900 
   900 
   901 	UpdateInstallPrefsForPerformingOcspL();
   901 	UpdateInstallPrefsForPerformingOcspL();
   902 	FillDeviceSupportedLanguagesL();
   902 	FillDeviceSupportedLanguagesL();
   903 
   903 
   904     if( iFileHandle )
   904     if( iFileHandle )