equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
216 // The following function may leave either because of an error or because |
216 // The following function may leave either because of an error or because |
217 // the user cancelled uninstallation (a dialog), in which case it notifies |
217 // the user cancelled uninstallation (a dialog), in which case it notifies |
218 // the UI sothat we don't need to display anything (cancellation is not an |
218 // the UI sothat we don't need to display anything (cancellation is not an |
219 // error). See RunError() for more details. |
219 // error). See RunError() for more details. |
220 iUninstallMachine.iPlanner->PlanUninstallationL(*iUninstallMachine.iPackage); |
220 iUninstallMachine.iPlanner->PlanUninstallationL(*iUninstallMachine.iPackage); |
221 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK |
221 TInt finalProgressBarValue = iUninstallMachine.iPlanner->FinalProgressBarValue(); |
222 iUninstallMachine.SetFinalProgressBarValue(iUninstallMachine.iPlanner->FinalProgressBarValue()); |
222 iUninstallMachine.SetFinalProgressBarValue(finalProgressBarValue); |
223 #endif |
|
224 iUninstallMachine.iPlan=iUninstallMachine.iPlanner->TransferPlanOwnership(); |
223 iUninstallMachine.iPlan=iUninstallMachine.iPlanner->TransferPlanOwnership(); |
225 iUninstallMachine.CompleteSelf(); |
224 iUninstallMachine.CompleteSelf(); |
226 iUninstallMachine.SetActive(); |
225 iUninstallMachine.SetActive(); |
227 } |
226 } |
228 |
227 |