secureswitools/swisistools/source/interpretsislib/dbhelper.h
branchRCL_3
changeset 66 8b7f4e561641
parent 65 7333d7932ef7
equal deleted inserted replaced
65:7333d7932ef7 66:8b7f4e561641
    46 
    46 
    47 class DbHelper
    47 class DbHelper
    48 	{
    48 	{
    49 	public:
    49 	public:
    50 		DbHelper( const std::wstring& aDrivePath, bool aIsSystemDrive);
    50 		DbHelper( const std::wstring& aDrivePath, bool aIsSystemDrive);
    51 		~DbHelper();
       
    52 		TBool IsInstalled(TInt32 aUid) const;
    51 		TBool IsInstalled(TInt32 aUid) const;
    53 		TBool IsAppUidInstalled(TUint32 aAppUid) const;
       
    54 		bool InternalizeIfExists(SisRegistryObject& aSisRegistryObject, const TUint32 aUid ) const;
    52 		bool InternalizeIfExists(SisRegistryObject& aSisRegistryObject, const TUint32 aUid ) const;
    55 		
    53 		
    56 		bool GetIsRemovable( TInt32 aComponentId ) const;
    54 		bool GetIsRemovable( TInt32 aComponentId ) const;
    57 		bool GetInRom( TInt32 aComponentId ) const;
    55 		bool GetInRom( TInt32 aComponentId ) const;
    58 		std::wstring GetPackageName( TInt32 aComponentId ) const;
    56 		std::wstring GetPackageName( TInt32 aComponentId ) const;
    73 		TInt GetIndex( TInt32 aComponentId) const;
    71 		TInt GetIndex( TInt32 aComponentId) const;
    74 		TUint32 GetUidFromFileName( const std::wstring& aFileName ) const;
    72 		TUint32 GetUidFromFileName( const std::wstring& aFileName ) const;
    75 		TInt GetIndex( TUint32 aPackageUid) const;
    73 		TInt GetIndex( TUint32 aPackageUid) const;
    76 
    74 
    77 	private:
    75 	private:
    78 		std::vector<TInt32> GetAppRegistrationInfoAppUid(TInt32 aComponentId) const;
       
    79 		std::vector<TInt32> GetServiceInfoServiceID(TInt32 aAppUid) const;
       
    80 		std::vector<TInt32> GetLocalAppInfoID(TInt32 aAppUid) const;
       
    81 		std::vector<TInt32> GetLocalCaptionAndIconID(TInt32 aAppUid) const;
       
    82 		std::vector<TInt32> GetViewDataCaptionAndIconID(TInt32 aLocalAppInfoID) const;
       
    83 		TInt32 GetComponentPropertyIntValue( TInt32 aComponentId, std::wstring aComponentPropertyName, TInt32 aDefaultValue = DbHelper::Absent ) const;
    76 		TInt32 GetComponentPropertyIntValue( TInt32 aComponentId, std::wstring aComponentPropertyName, TInt32 aDefaultValue = DbHelper::Absent ) const;
    84 		TInt32 GetComponentPropertyIntFormattedValue(TInt32 aComponentId, std::wstring aComponentPropertyName, TInt32 aIntFormatter) const;
    77 		TInt32 GetComponentPropertyIntFormattedValue(TInt32 aComponentId, std::wstring aComponentPropertyName, TInt32 aIntFormatter) const;
    85 		std::wstring GetComponentPropertyStrValue(TInt32 aComponentId, std::wstring aComponentPropertyName, TInt32 aIntFormatter) const;
    78 		std::wstring GetComponentPropertyStrValue(TInt32 aComponentId, std::wstring aComponentPropertyName, TInt32 aIntFormatter) const;
    86 		std::wstring GetComponentPropertyStrValue(TInt32 aComponentId, std::wstring aComponentPropertyName) const;
    79 		std::wstring GetComponentPropertyStrValue(TInt32 aComponentId, std::wstring aComponentPropertyName) const;
    87 
    80