35 |
35 |
36 namespace Usif |
36 namespace Usif |
37 { |
37 { |
38 class CSisxSifPluginUiHandlerBase; |
38 class CSisxSifPluginUiHandlerBase; |
39 class CSisxSifPluginInstallParams; |
39 class CSisxSifPluginInstallParams; |
|
40 class CSisxSifPluginErrorHandler; |
40 |
41 |
41 /** |
42 /** |
42 * SISX SIF plugin active implementation |
43 * SISX SIF plugin active implementation |
43 * Universal Software Install Framework (USIF) plugin for native SISX |
44 * Universal Software Install Framework (USIF) plugin for native SISX |
44 * installation. CSisxSifPluginActiveImpl is active object that takes |
45 * installation. CSisxSifPluginActiveImpl is active object that takes |
91 void DoUninstallL( TComponentId aComponentId, const COpaqueNamedParams& aInputParams, |
92 void DoUninstallL( TComponentId aComponentId, const COpaqueNamedParams& aInputParams, |
92 COpaqueNamedParams& aOutputParams, TRequestStatus& aStatus ); |
93 COpaqueNamedParams& aOutputParams, TRequestStatus& aStatus ); |
93 void DoActivateL( TComponentId aComponentId, TRequestStatus& aStatus ); |
94 void DoActivateL( TComponentId aComponentId, TRequestStatus& aStatus ); |
94 void DoDeactivateL( TComponentId aComponentId, TRequestStatus& aStatus ); |
95 void DoDeactivateL( TComponentId aComponentId, TRequestStatus& aStatus ); |
95 void DoHandleErrorL( TInt aError ); |
96 void DoHandleErrorL( TInt aError ); |
96 TErrorCategory ErrorCategory( TInt aErrorCode ); |
|
97 void SetFileL( const TDesC& aFileName ); |
97 void SetFileL( const TDesC& aFileName ); |
98 void SetFile( RFile& aFileHandle ); |
98 void SetFile( RFile& aFileHandle ); |
99 TComponentId GetLastInstalledComponentIdL(); |
99 TComponentId GetLastInstalledComponentIdL(); |
100 TBool RequiresUserCapabilityL( const CComponentInfo::CNode& aRootNode ); |
100 TBool RequiresUserCapabilityL( const CComponentInfo::CNode& aRootNode ); |
101 void StartInstallingL(); |
101 void StartInstallingL(); |
111 Swi::CInstallPrefs* iInstallPrefs; |
111 Swi::CInstallPrefs* iInstallPrefs; |
112 TRequestStatus* iClientStatus; |
112 TRequestStatus* iClientStatus; |
113 const COpaqueNamedParams* iInputParams; // not owned |
113 const COpaqueNamedParams* iInputParams; // not owned |
114 COpaqueNamedParams* iOutputParams; // not owned |
114 COpaqueNamedParams* iOutputParams; // not owned |
115 CSisxSifPluginInstallParams* iInstallParams; |
115 CSisxSifPluginInstallParams* iInstallParams; |
|
116 CSisxSifPluginErrorHandler* iErrorHandler; |
116 CComponentInfo* iComponentInfo; |
117 CComponentInfo* iComponentInfo; |
117 TBool iHasAllFilesCapability; |
118 TBool iHasAllFilesCapability; |
118 HBufC* iFileName; |
119 HBufC* iFileName; |
119 RFile* iFileHandle; // not owned |
120 RFile* iFileHandle; // not owned |
120 enum TOperationType |
121 enum TOperationType |