secureswitools/swisistools/source/interpretsislib/parameterlist.h
branchRCL_3
changeset 66 8b7f4e561641
parent 65 7333d7932ef7
child 73 79647526f98c
equal deleted inserted replaced
65:7333d7932ef7 66:8b7f4e561641
   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
       
   122 		EFlagsDisableZDriveChecksSet= 0x0080
   119 		EFlagsDisableZDriveChecksSet= 0x0080
   123 
       
   124         };
   120         };
   125 
   121 
   126 public: // Constructors & destructor
   122 public: // Constructors & destructor
   127 	/**
   123 	/**
   128 	 * Default Constructor
   124 	 * Default Constructor
   137 	/**
   133 	/**
   138 	 * This function will log the error in the logger.
   134 	 * This function will log the error in the logger.
   139 	 * @param aError type of error.
   135 	 * @param aError type of error.
   140 	 */
   136 	 */
   141 	static void DisplayError(TParamException aError);
   137 	static void DisplayError(TParamException aError);
   142 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
       
   143 	/**
   138 	/**
   144 	 * Set the path which represent the system drive.
   139 	 * Set the path which represent the system drive.
   145 	 * @param File-system path which represents system drive
   140 	 * @param File-system path which represents system drive
   146 	 */
   141 	 */
   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 	 */
       
   153 	void SetSystemDrive(const std::string& aFilePath);
   142 	void SetSystemDrive(const std::string& aFilePath);
   154 	/**
   143 	/**
   155 	 * Drive letter of the system drive
   144 	 * Drive letter of the system drive
   156 	 * @param Drive letter
   145 	 * @param Drive letter
   157 	 */
   146 	 */
   248 	inline const OptionList&	PkgUidsToRemove() const;
   237 	inline const OptionList&	PkgUidsToRemove() const;
   249 	/**
   238 	/**
   250 	 * Get the system drive path.
   239 	 * Get the system drive path.
   251 	 */
   240 	 */
   252 	inline const std::wstring&	SystemDrivePath() const;
   241 	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
       
   259 	/**
   242 	/**
   260 	 * Gets the ROM drive (Z) path in the file-system.
   243 	 * Gets the ROM drive (Z) path in the file-system.
   261 	 */
   244 	 */
   262 	inline const std::wstring&	RomDrivePath() const;
   245 	inline const std::wstring&	RomDrivePath() const;
   263 	/**
   246 	/**
   306 	typedef std::map<std::string, WarnLevel> WarnMap;
   289 	typedef std::map<std::string, WarnLevel> WarnMap;
   307 
   290 
   308 	SISFileList				iFileNames;
   291 	SISFileList				iFileNames;
   309     OptionList				iRomLogFiles;
   292     OptionList				iRomLogFiles;
   310 	OptionList				iPkgUIDs;
   293 	OptionList				iPkgUIDs;
   311 	std::wstring			iSystemDrivePath;
   294 	std::wstring			iSystemDrivePath; 
   312 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
       
   313 	std::wstring			iResourceFilePath;
       
   314 #endif //SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK
       
   315 	std::wstring			iZDrive; 
   295 	std::wstring			iZDrive; 
   316     std::wstring			iConfigFile;
   296     std::wstring			iConfigFile;
   317     std::wstring			iSisStubPath;
   297     std::wstring			iSisStubPath;
   318 	int						iSystemDriveLetter;
   298 	int						iSystemDriveLetter;
   319 	CSISLanguage::TLanguage	iLanguage;
   299 	CSISLanguage::TLanguage	iLanguage;
   345 inline const std::wstring& CParameterList::SystemDrivePath() const
   325 inline const std::wstring& CParameterList::SystemDrivePath() const
   346 	{
   326 	{
   347 	return iSystemDrivePath;
   327 	return iSystemDrivePath;
   348 	}
   328 	}
   349 
   329 
   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 
       
   357 inline const std::wstring& CParameterList::RomDrivePath() const
   330 inline const std::wstring& CParameterList::RomDrivePath() const
   358 	{
   331 	{
   359 	return iZDrive;
   332 	return iZDrive;
   360 	}
   333 	}
   361 
   334