installationservices/swi/source/sisregistry/server/sisregistryserversession.h
changeset 60 245df5276b97
parent 53 ae54820ef82c
child 76 f36d4ce8961e
equal deleted inserted replaced
53:ae54820ef82c 60:245df5276b97
   116 	void PackageExistsInRomL(const RMessage2& aMessage);
   116 	void PackageExistsInRomL(const RMessage2& aMessage);
   117 	void RequestStubFileEntriesL(const RMessage2& aMessage);
   117 	void RequestStubFileEntriesL(const RMessage2& aMessage);
   118 	void RequestRegistryEntryL(const RMessage2& aMessage);
   118 	void RequestRegistryEntryL(const RMessage2& aMessage);
   119 	void IsFileRegisteredL(const RMessage2& aMessage);
   119 	void IsFileRegisteredL(const RMessage2& aMessage);
   120 	void GetComponentIdForUidL(const RMessage2& aMessage);
   120 	void GetComponentIdForUidL(const RMessage2& aMessage);
   121     
   121 	void AddAppRegInfoL(const RMessage2& aMessage);
       
   122     void RemoveAppRegInfoL(const RMessage2& aMessage);
       
   123     void ValidateAndParseAppRegFileL(const TDesC& aRegFileName, Usif::CApplicationRegistrationData*& aAppRegData, TBool aInternal);
       
   124     void ReRegisterAppRegFileL(const TDesC& aRegFileDrivePath, const TUid& aAppUid);
       
   125 	
   122 	// Subsession handling
   126 	// Subsession handling
   123 	void OpenRegistryUidEntryL(const RMessage2& aMessage);
   127 	void OpenRegistryUidEntryL(const RMessage2& aMessage);
   124 	void OpenRegistryPackageEntryL(const RMessage2& aMessage);
   128 	void OpenRegistryPackageEntryL(const RMessage2& aMessage);
   125 	void OpenRegistryNamesEntryL(const RMessage2& aMessage);
   129 	void OpenRegistryNamesEntryL(const RMessage2& aMessage);
   126 	void CloseRegistryEntryL(const RMessage2& aMessage);
   130 	void CloseRegistryEntryL(const RMessage2& aMessage);
   137 
   141 
   138 	void RegisterEntryL(const RMessage2& aMessage, TBool aNewEntry, TBool aRegisterSoftwareTypes);
   142 	void RegisterEntryL(const RMessage2& aMessage, TBool aNewEntry, TBool aRegisterSoftwareTypes);
   139 	void AppRegInfoEntryL(const RMessage2& aMessage);
   143 	void AppRegInfoEntryL(const RMessage2& aMessage);
   140 
   144 
   141 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
   145 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
   142 	void RegisterAllInRomAppL(RBuf& aRomApparcRegFilePath);
   146 	void RegisterAllAppL(RBuf& aApparcRegFolder);
   143     void GetComponentIdForPackageL(const RMessage2& aMessage);
   147     void GetComponentIdForPackageL(const RMessage2& aMessage);
   144     void GetAppUidsForComponentL(const RMessage2& aMessage);
   148     void GetAppUidsForComponentL(const RMessage2& aMessage);
   145     void GetComponentIdsForUidL(const RMessage2& aMessage);
   149     void GetComponentIdsForUidL(const RMessage2& aMessage);
   146 #endif
   150 #endif
   147 
   151 
   148 	void DeleteEntryL(const RMessage2& aMessage);
   152 	void DeleteEntryL(const RMessage2& aMessage);
       
   153 	void DeleteEntryL(const CSisRegistryObject& aObject, TInt64 aTransactionId, TBool aCleanupRequired = ETrue);
   149 	void AddSoftwareTypeL(const RMessage2& aMessage);
   154 	void AddSoftwareTypeL(const RMessage2& aMessage);
   150 	void AddDriveL(const RMessage2& aMessage);
   155 	void AddDriveL(const RMessage2& aMessage);
   151 
   156 
   152 	/// Updates the trust status of the base package identified by uid
   157 	/// Updates the trust status of the base package identified by uid
   153 	void UpdateTrustStatusL(const TUid& aUid, const TSisTrustStatus& aTrustStatus);
   158 	void UpdateTrustStatusL(const TUid& aUid, const TSisTrustStatus& aTrustStatus);
   198 	void RegisterInRomControllerL(const TDesC& aFileName);
   203 	void RegisterInRomControllerL(const TDesC& aFileName);
   199 	void RegisterSoftwareTypesL(Usif::TComponentId aComponentId, const RMessage2& aMessage);
   204 	void RegisterSoftwareTypesL(Usif::TComponentId aComponentId, const RMessage2& aMessage);
   200 	void UnregisterSoftwareTypesL(Usif::TComponentId aComponentId);
   205 	void UnregisterSoftwareTypesL(Usif::TComponentId aComponentId);
   201 	
   206 	
   202 	void ProcessRomStubsL();
   207 	void ProcessRomStubsL();
   203 	void ProcessRomApplicationsL();
   208 	void ProcessApplicationsL();
   204 	TBool IsFirmwareUpdatedL();	 
   209 	TBool IsFirmwareUpdatedL();	 
   205 	void  UpdateRecentFWVersionL(); 
   210 	void  UpdateRecentFWVersionL(); 
   206 	TInt GetStubFileInfoL(TUid aUid, TStubExtractionMode aMode, TInt aStartingFileNo, TInt& aFileCount, RPointerArray<HBufC>& aFileNames);
   211 	void GetStubFileInfoL(TUid aUid, TStubExtractionMode aMode, TInt aStartingFileNo, TInt& aFileCount, RPointerArray<HBufC>& aFileNames);
   207 	TInt GetStubFilesL(const TDesC& aFileName, RPointerArray<HBufC>& aFileNames);
   212 	void GetStubFilesL(const TDesC& aFileName, RPointerArray<HBufC>& aFileNames);
   208 
   213 	void DriveFormatDetectedL(TDriveUnit aDrive);
       
   214 	
   209 private:
   215 private:
   210     friend class CSisRevocationManager;
   216     friend class CSisRevocationManager;
   211 
   217 
   212     // File system session which is used to make all requests to file server
   218     // File system session which is used to make all requests to file server
   213 	RFs iFs;
   219 	RFs iFs;