equal
deleted
inserted
replaced
21 |
21 |
22 // INCLUDES |
22 // INCLUDES |
23 #include <e32base.h> |
23 #include <e32base.h> |
24 #include <f32file.h> |
24 #include <f32file.h> |
25 #include <SWInstApi.h> |
25 #include <SWInstApi.h> |
|
26 #include <usif/sif/sif.h> |
|
27 #include <usif/sif/sifcommon.h> |
|
28 |
|
29 #include "sisregistrysession.h" |
26 |
30 |
27 namespace Swi |
31 namespace Swi |
28 { |
32 { |
29 /** |
33 /** |
30 * CSilentUninstaller class handles uninstalling of the single sisx file. |
34 * CSilentUninstaller class handles uninstalling of the single sisx file. |
56 * @param aMIME MIME type descriptor. |
60 * @param aMIME MIME type descriptor. |
57 */ |
61 */ |
58 void UninstallL( |
62 void UninstallL( |
59 TUid& aUid, |
63 TUid& aUid, |
60 TRequestStatus& aReqStatus, |
64 TRequestStatus& aReqStatus, |
61 TDesC8& aMIME ); |
65 TDesC& aMIME ); |
62 |
66 |
63 /** |
67 /** |
64 * Cancel the current installation. |
68 * Cancel the current installation. |
65 */ |
69 */ |
66 void Cancel(); |
70 void Cancel(); |
79 */ |
83 */ |
80 void ConstructL(); |
84 void ConstructL(); |
81 |
85 |
82 private: // Data |
86 private: // Data |
83 |
87 |
84 // Silent uninstaller |
88 // SW installer framework |
85 SwiUI::RSWInstSilentLauncher iLauncher; |
89 Usif::RSoftwareInstall iSWInstallerFW; |
86 // Uninstall options |
90 // Install parameters |
87 SwiUI::TUninstallOptions iOptions; |
91 Usif::COpaqueNamedParams* iSifOptions; |
88 // Uninstall options package |
92 // Result parameters like error codes. |
89 SwiUI::TUninstallOptionsPckg iOptionsPckg; |
93 Usif::COpaqueNamedParams* iSifResults; |
|
94 // SisRegister for native install packages. |
|
95 RSisRegistrySession iRegistrySession; |
90 // File server |
96 // File server |
91 RFs& iFs; |
97 RFs& iFs; |
92 // Defines need of connection to install server. |
98 // Defines need of connection to install server. |
93 TBool iConnected; |
99 TBool iConnected; |
94 }; |
100 }; |