secureswitools/swisistools/source/interpretsislib/parameterlist.h
branchRCL_3
changeset 25 7333d7932ef7
parent 12 7ca52d38f8c3
child 26 8b7f4e561641
equal deleted inserted replaced
24:5cc91383ab1e 25:7333d7932ef7
   114         EFlagsCDriveSet             = 0x0004,
   114         EFlagsCDriveSet             = 0x0004,
   115         EFlagsZDriveSet             = 0x0008,
   115         EFlagsZDriveSet             = 0x0008,
   116         EFlagsSysDriveSet           = 0x0010,
   116         EFlagsSysDriveSet           = 0x0010,
   117         EFlagsStubDirectorySet      = 0x0020,
   117         EFlagsStubDirectorySet      = 0x0020,
   118         EFlagsConfigIniSet          = 0x0040,
   118         EFlagsConfigIniSet          = 0x0040,
       
   119 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
       
   120 		EFlagsResourceFilePathSet   = 0x0100,
       
   121 #endif //SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
   119 		EFlagsDisableZDriveChecksSet= 0x0080
   122 		EFlagsDisableZDriveChecksSet= 0x0080
       
   123 
   120         };
   124         };
   121 
   125 
   122 public: // Constructors & destructor
   126 public: // Constructors & destructor
   123 	/**
   127 	/**
   124 	 * Default Constructor
   128 	 * Default Constructor
   133 	/**
   137 	/**
   134 	 * This function will log the error in the logger.
   138 	 * This function will log the error in the logger.
   135 	 * @param aError type of error.
   139 	 * @param aError type of error.
   136 	 */
   140 	 */
   137 	static void DisplayError(TParamException aError);
   141 	static void DisplayError(TParamException aError);
       
   142 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
   138 	/**
   143 	/**
   139 	 * Set the path which represent the system drive.
   144 	 * Set the path which represent the system drive.
   140 	 * @param File-system path which represents system drive
   145 	 * @param File-system path which represents system drive
   141 	 */
   146 	 */
       
   147 	void SetResourceFilePath(const std::string& aFilePath);
       
   148 #endif //SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
       
   149 	/**
       
   150 	 * Set the path which represent the system drive.
       
   151 	 * @param File-system path which represents system drive
       
   152 	 */
   142 	void SetSystemDrive(const std::string& aFilePath);
   153 	void SetSystemDrive(const std::string& aFilePath);
   143 	/**
   154 	/**
   144 	 * Drive letter of the system drive
   155 	 * Drive letter of the system drive
   145 	 * @param Drive letter
   156 	 * @param Drive letter
   146 	 */
   157 	 */
   237 	inline const OptionList&	PkgUidsToRemove() const;
   248 	inline const OptionList&	PkgUidsToRemove() const;
   238 	/**
   249 	/**
   239 	 * Get the system drive path.
   250 	 * Get the system drive path.
   240 	 */
   251 	 */
   241 	inline const std::wstring&	SystemDrivePath() const;
   252 	inline const std::wstring&	SystemDrivePath() const;
       
   253 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
       
   254 	/**
       
   255 	 * Get the Resource File path.
       
   256 	 */
       
   257 	inline const std::wstring&	ResourceFilePath() const;
       
   258 #endif //SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
   242 	/**
   259 	/**
   243 	 * Gets the ROM drive (Z) path in the file-system.
   260 	 * Gets the ROM drive (Z) path in the file-system.
   244 	 */
   261 	 */
   245 	inline const std::wstring&	RomDrivePath() const;
   262 	inline const std::wstring&	RomDrivePath() const;
   246 	/**
   263 	/**
   289 	typedef std::map<std::string, WarnLevel> WarnMap;
   306 	typedef std::map<std::string, WarnLevel> WarnMap;
   290 
   307 
   291 	SISFileList				iFileNames;
   308 	SISFileList				iFileNames;
   292     OptionList				iRomLogFiles;
   309     OptionList				iRomLogFiles;
   293 	OptionList				iPkgUIDs;
   310 	OptionList				iPkgUIDs;
   294 	std::wstring			iSystemDrivePath; 
   311 	std::wstring			iSystemDrivePath;
       
   312 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
       
   313 	std::wstring			iResourceFilePath;
       
   314 #endif //SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
   295 	std::wstring			iZDrive; 
   315 	std::wstring			iZDrive; 
   296     std::wstring			iConfigFile;
   316     std::wstring			iConfigFile;
   297     std::wstring			iSisStubPath;
   317     std::wstring			iSisStubPath;
   298 	int						iSystemDriveLetter;
   318 	int						iSystemDriveLetter;
   299 	CSISLanguage::TLanguage	iLanguage;
   319 	CSISLanguage::TLanguage	iLanguage;
   325 inline const std::wstring& CParameterList::SystemDrivePath() const
   345 inline const std::wstring& CParameterList::SystemDrivePath() const
   326 	{
   346 	{
   327 	return iSystemDrivePath;
   347 	return iSystemDrivePath;
   328 	}
   348 	}
   329 
   349 
       
   350 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
       
   351 inline const std::wstring& CParameterList::ResourceFilePath() const
       
   352 	{
       
   353 	return iResourceFilePath;
       
   354 	}
       
   355 #endif //SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
       
   356 
   330 inline const std::wstring& CParameterList::RomDrivePath() const
   357 inline const std::wstring& CParameterList::RomDrivePath() const
   331 	{
   358 	{
   332 	return iZDrive;
   359 	return iZDrive;
   333 	}
   360 	}
   334 
   361