equal
deleted
inserted
replaced
20 |
20 |
21 #ifndef HTIAPPSERVICEPLUGIN_H__ |
21 #ifndef HTIAPPSERVICEPLUGIN_H__ |
22 #define HTIAPPSERVICEPLUGIN_H__ |
22 #define HTIAPPSERVICEPLUGIN_H__ |
23 |
23 |
24 // INCLUDES |
24 // INCLUDES |
|
25 #include "../../../symbian_version.hrh" |
|
26 |
25 #include <e32base.h> |
27 #include <e32base.h> |
26 #include <apgcli.h> |
28 #include <apgcli.h> |
27 #include <w32std.h> |
29 #include <w32std.h> |
|
30 #if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 ) |
28 #include <SWInstDefs.h> |
31 #include <SWInstDefs.h> |
29 #include <swi/sisregistryentry.h> |
32 #include <swi/sisregistryentry.h> |
|
33 #else |
|
34 #include <usif/usifcommon.h> |
|
35 #endif |
30 #include <HtiServicePluginInterface.h> |
36 #include <HtiServicePluginInterface.h> |
31 |
37 |
32 // CONSTANTS |
38 // CONSTANTS |
33 |
39 |
34 // MACROS |
40 // MACROS |
153 * |
159 * |
154 */ |
160 */ |
155 TInt OpenProcessL( RProcess& aProcess, const TDesC& aMatch ); |
161 TInt OpenProcessL( RProcess& aProcess, const TDesC& aMatch ); |
156 TInt OpenProcessL( RProcess& aProcess, const TUint32 aProcessId ); |
162 TInt OpenProcessL( RProcess& aProcess, const TUint32 aProcessId ); |
157 |
163 |
|
164 #if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 ) |
158 SwiUI::TPolicy ConvertToPolicy( const TInt8 aValue ); |
165 SwiUI::TPolicy ConvertToPolicy( const TInt8 aValue ); |
159 TInt GetPackageUidL( const TDesC& aPackageName, TInt aMimeIndex ); |
166 TInt GetPackageUidL( const TDesC& aPackageName, TInt aMimeIndex ); |
|
167 #else |
|
168 Usif::TSifPolicy ConvertToSifPolicy( const TInt8 aValue ); |
|
169 TInt GetComponentIdFromUid(const TInt32 aUid); |
|
170 TInt GetComponentIdFromPackageName(const TDesC& aPackageName); |
|
171 #endif |
160 |
172 |
161 TBool ValidateInstallParams( const TDesC8& aParams, TBool aIsUnicode ); |
173 TBool ValidateInstallParams( const TDesC8& aParams, TBool aIsUnicode ); |
162 |
174 |
163 /** |
175 /** |
164 * Find application based on its full path name and fill in aAppInfo |
176 * Find application based on its full path name and fill in aAppInfo |
197 RArray<RProcess> iProcessHandleArray; |
209 RArray<RProcess> iProcessHandleArray; |
198 |
210 |
199 // possible mimetypes for silent software uninstallation |
211 // possible mimetypes for silent software uninstallation |
200 CDesC8ArrayFlat* iMimeTypes; |
212 CDesC8ArrayFlat* iMimeTypes; |
201 |
213 |
|
214 #if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 ) |
202 SwiUI::TInstallOptions iInstOpts; |
215 SwiUI::TInstallOptions iInstOpts; |
203 SwiUI::TInstallOptionsPckg iInstOptsPckg; |
216 SwiUI::TInstallOptionsPckg iInstOptsPckg; |
204 SwiUI::TUninstallOptions iUnInstOpts; |
217 SwiUI::TUninstallOptions iUnInstOpts; |
205 SwiUI::TUninstallOptionsPckg iUnInstOptsPckg; |
218 SwiUI::TUninstallOptionsPckg iUnInstOptsPckg; |
206 RPointerArray<Swi::CSisRegistryPackage> iAugmentations; |
219 RPointerArray<Swi::CSisRegistryPackage> iAugmentations; |
207 TInt iAugmentationIndex; |
220 TInt iAugmentationIndex; |
|
221 #endif |
208 }; |
222 }; |
209 |
223 |
210 #endif |
224 #endif |
211 |
225 |
212 // End of file |
226 // End of file |