installationservices/swi/source/sisregistry/server/sisregistryserversession.h
changeset 53 ae54820ef82c
parent 42 d17dc5398051
child 50 c6e8afe0ba85
child 60 245df5276b97
equal deleted inserted replaced
52:92f864ef0288 53:ae54820ef82c
   159 	
   159 	
   160 	void LoggingFileInfoL(const RMessage2& aMessage);
   160 	void LoggingFileInfoL(const RMessage2& aMessage);
   161 
   161 
   162 	//sets a particular component's state to the requested value
   162 	//sets a particular component's state to the requested value
   163 	void SetComponentStateL(const RMessage2& aMessage);
   163 	void SetComponentStateL(const RMessage2& aMessage);
       
   164 	void SetComponentPresenceL(const RMessage2& aMessage);
   164 
   165 
   165 	// Helper methods
   166 	// Helper methods
   166 	TBool IsRegisteredL(const TUid& aUid);
   167 	TBool IsRegisteredL(const TUid& aUid);
   167 	TBool IsRegisteredL(const CHashContainer& aHashContainer);
   168 	TBool IsRegisteredL(const CHashContainer& aHashContainer);
   168 	TBool IsRegisteredL(const TUid& aUid, const TDesC& aPackageName);
   169 	TBool IsRegisteredL(const TUid& aUid, const TDesC& aPackageName);
   169 
   170 
       
   171 	void RemoveEntryL(const Usif::TComponentId aCompId);
   170 	void RemoveEntryL(const CSisRegistryPackage& aPackage);
   172 	void RemoveEntryL(const CSisRegistryPackage& aPackage);
   171 	void RemoveCleanupInfrastructureL(const CSisRegistryObject& aObject, Usif::RStsSession& aStsSession);
   173 	void RemoveCleanupInfrastructureL(const CSisRegistryObject& aObject, Usif::RStsSession& aStsSession);
   172 	TBool RemoveControllerL(const CSisRegistryObject& aObject, Usif::RStsSession& aStsSession, TInt aDrive);
   174 	TBool RemoveControllerL(const CSisRegistryObject& aObject, Usif::RStsSession& aStsSession, TInt aDrive);
   173 	void ControllerDriveListL(const CSisRegistryObject& aObject, RArray<TInt>& aDriveList);
   175 	void ControllerDriveListL(const CSisRegistryObject& aObject, RArray<TInt>& aDriveList);
   174 	TUint FixedDrivesL() const;
   176 	TUint FixedDrivesL() const;
   175 	Usif::TComponentId AddRegistryEntryL(CSisRegistryObject& aObject, Usif::RStsSession& aStsSession, const TDesC8& aController, Usif::TScrComponentOperationType aOpType);
   177 	Usif::TComponentId AddRegistryEntryL(CSisRegistryObject& aObject, Usif::RStsSession& aStsSession, const TDesC8& aController, Usif::TScrComponentOperationType aOpType);
   176 	Usif::TComponentId AddEntryL(CSisRegistryObject& aObject, Usif::TScrComponentOperationType aOpType);
   178 	Usif::TComponentId AddEntryL(CSisRegistryObject& aObject, Usif::TScrComponentOperationType aOpType);
   177 	void AddAppsFromStubL(Usif::TComponentId aCompId, TUid aUid);
   179 	void AddAppsFromStubL(Usif::TComponentId aCompId, const TDesC& aFileName);
   178 	void AddControllerL(const CSisRegistryObject& aObject, Usif::RStsSession& aStsSession, const TDesC8& aBuffer, const TInt aDrive);
   180 	void AddControllerL(const CSisRegistryObject& aObject, Usif::RStsSession& aStsSession, const TDesC8& aBuffer, const TInt aDrive);
   179 	void AddCleanupInfrastructureL(CSisRegistryObject& aObject, Usif::RStsSession& aStsSession, const TDesC8& aControllerBuffer);
   181 	void AddCleanupInfrastructureL(CSisRegistryObject& aObject, Usif::RStsSession& aStsSession, const TDesC8& aControllerBuffer);
   180 	TUint CreateSubsessionHandleL(const TUid& aPackageUid);
   182 	TUint CreateSubsessionHandleL(const TUid& aPackageUid);
   181 	TUint CreateSubsessionHandleL(const CSisRegistryPackage& aPackage);
   183 	TUint CreateSubsessionHandleL(const CSisRegistryPackage& aPackage);
   182 	TUint CreateSubsessionHandleL(const TDesC& aPackageName, const TDesC& aVendorName);
   184 	TUint CreateSubsessionHandleL(const TDesC& aPackageName, const TDesC& aVendorName);
   200 	void ProcessRomStubsL();
   202 	void ProcessRomStubsL();
   201 	void ProcessRomApplicationsL();
   203 	void ProcessRomApplicationsL();
   202 	TBool IsFirmwareUpdatedL();	 
   204 	TBool IsFirmwareUpdatedL();	 
   203 	void  UpdateRecentFWVersionL(); 
   205 	void  UpdateRecentFWVersionL(); 
   204 	TInt GetStubFileInfoL(TUid aUid, TStubExtractionMode aMode, TInt aStartingFileNo, TInt& aFileCount, RPointerArray<HBufC>& aFileNames);
   206 	TInt GetStubFileInfoL(TUid aUid, TStubExtractionMode aMode, TInt aStartingFileNo, TInt& aFileCount, RPointerArray<HBufC>& aFileNames);
       
   207 	TInt GetStubFilesL(const TDesC& aFileName, RPointerArray<HBufC>& aFileNames);
   205 
   208 
   206 private:
   209 private:
   207     friend class CSisRevocationManager;
   210     friend class CSisRevocationManager;
   208 
   211 
   209     // File system session which is used to make all requests to file server
   212     // File system session which is used to make all requests to file server