secureswitools/swisistools/source/interpretsislib/installer.h
branchRCL_3
changeset 26 8b7f4e561641
parent 25 7333d7932ef7
equal deleted inserted replaced
25:7333d7932ef7 26:8b7f4e561641
    66 
    66 
    67 	void SanitiseSISFileAttributes(const InstallSISFile& aInstallSISFile);
    67 	void SanitiseSISFileAttributes(const InstallSISFile& aInstallSISFile);
    68 
    68 
    69 	void UninstallPkg(const SisFile& aSis); // Uninstall the same package (if found)
    69 	void UninstallPkg(const SisFile& aSis); // Uninstall the same package (if found)
    70 											// prior to installation
    70 											// prior to installation
    71 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
    71 
    72 	void Backup(const SisFile& aFile, InstallableFiles& aInstallable, TBool& aBackupFlag);
       
    73 	void RemoveBackup(const SisFile& aFile, InstallableFiles& aInstallable);
       
    74 	void Restore(const SisFile& aFile, InstallableFiles& aInstallable, TBool& aBackupFlag);
       
    75 	void RestoreAll(const SisFile& aFile, InstallableFiles& aInstallable, TBool& aBackupFlag);
       
    76 #endif
       
    77 	bool DependenciesOk(const SisFile& aFile);			// Check to see if the sis file
    72 	bool DependenciesOk(const SisFile& aFile);			// Check to see if the sis file
    78 														// meets it's dependencies
    73 														// meets it's dependencies
    79 
    74 
    80 	bool IsValidUpgrade(const SisFile& aFile, bool aSUFlag, bool aNonRemovable);	// Check to see if this is a valid upgrade
    75 	bool IsValidUpgrade(const SisFile& aFile, bool aSUFlag, bool aNonRemovable);	// Check to see if this is a valid upgrade
    81 																	// to the existing packages
    76 																	// to the existing packages
    95 		const InstallSISFile& aInstallSISFile, const bool aSUFlag);	// PU sis files
    90 		const InstallSISFile& aInstallSISFile, const bool aSUFlag);	// PU sis files
    96 
    91 
    97 	const SisRegistryObject& AddRegistry(const SisFile& aFile,	// Create the registry entries for
    92 	const SisRegistryObject& AddRegistry(const SisFile& aFile,	// Create the registry entries for
    98 		const InstallableFiles& aInstalled, const bool aSUFlag);	// the installed sis file
    93 		const InstallableFiles& aInstalled, const bool aSUFlag);	// the installed sis file
    99 
    94 
   100 	//void RemoveHashForFile(const std::wstring& aFile);
    95 	void RemoveHashForFile(const std::wstring& aFile);
   101 
    96 
   102 	bool CheckDependency(const CSISDependency* aDep);	
    97 	bool CheckDependency(const CSISDependency* aDep);	
   103 
    98 
   104 	void CheckDestinations(const SisFile& aFile, InstallableFiles& aFiles,
    99 	void CheckDestinations(const SisFile& aFile, InstallableFiles& aFiles,
   105 							const InstallSISFile& aInstallSISFile);	// Ensure installable files do not
   100 							const InstallSISFile& aInstallSISFile);	// Ensure installable files do not