diff -r 822c625f7adc -r 65b472535a0d htiui/HtiServicePlugins/HtiAppServicePlugin/inc/HtiAppControl.h --- a/htiui/HtiServicePlugins/HtiAppServicePlugin/inc/HtiAppControl.h Wed Jun 09 09:42:37 2010 +0300 +++ b/htiui/HtiServicePlugins/HtiAppServicePlugin/inc/HtiAppControl.h Mon Jun 21 15:41:16 2010 +0300 @@ -22,11 +22,17 @@ #define HTIAPPSERVICEPLUGIN_H__ // INCLUDES +#include "../../../symbian_version.hrh" + #include #include #include +#if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 ) #include #include +#else +#include +#endif #include // CONSTANTS @@ -155,8 +161,14 @@ TInt OpenProcessL( RProcess& aProcess, const TDesC& aMatch ); TInt OpenProcessL( RProcess& aProcess, const TUint32 aProcessId ); +#if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 ) SwiUI::TPolicy ConvertToPolicy( const TInt8 aValue ); TInt GetPackageUidL( const TDesC& aPackageName, TInt aMimeIndex ); +#else + Usif::TSifPolicy ConvertToSifPolicy( const TInt8 aValue ); + TInt GetComponentIdFromUid(const TInt32 aUid); + TInt GetComponentIdFromPackageName(const TDesC& aPackageName); +#endif TBool ValidateInstallParams( const TDesC8& aParams, TBool aIsUnicode ); @@ -199,12 +211,14 @@ // possible mimetypes for silent software uninstallation CDesC8ArrayFlat* iMimeTypes; +#if ( SYMBIAN_VERSION_SUPPORT < SYMBIAN_4 ) SwiUI::TInstallOptions iInstOpts; SwiUI::TInstallOptionsPckg iInstOptsPckg; SwiUI::TUninstallOptions iUnInstOpts; SwiUI::TUninstallOptionsPckg iUnInstOptsPckg; RPointerArray iAugmentations; TInt iAugmentationIndex; +#endif }; #endif