CHtiCfg Class Reference
class CHtiCfg : public CBase |
Constructor & Destructor Documentation
~CHtiCfg()
IMPORT_C | ~CHtiCfg | ( | ) | [virtual] |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
Second phase construction.
GetParameterIntL(const TDesC8 &)
IMPORT_C TInt | GetParameterIntL | ( | const TDesC8 & | aName | ) | |
Gets a numerical parameter value as integer.
Parameters
const TDesC8 & aName | name of the parameter whose value to get |
GetParameterL(const TDesC8 &)
Gets a parameter value as descriptor.
Parameters
const TDesC8 & aName | name of the parameter whose value to get |
LoadCfgL(const TDesC &, const TDesC &)
IMPORT_C void | LoadCfgL | ( | const TDesC & | aCfgFilePath, |
| const TDesC & | aCfgFileName |
| ) | |
Loads the configuration file and reads the values to iCfgParameters. Drive letter is not specified. File will be searched from all drives.
Parameters
const TDesC & aCfgFilePath | absolute path (without drive letter) to the directory from where to search the configuration file |
const TDesC & aCfgFileName | configuration filename. |
NewL()
Create instance of configuration class.
NewLC()
Create instance of configuration class leaving it to cleanup stack.
RemoveParameterL(const TDesC8 &)
IMPORT_C TInt | RemoveParameterL | ( | const TDesC8 & | aName | ) | |
Parameters
const TDesC8 & aName | name of the parameter to remove |
SaveCfgL(const TDesC &, const TDesC &)
IMPORT_C void | SaveCfgL | ( | const TDesC & | aCfgFilePath, |
| const TDesC & | aCfgFileName |
| ) | |
Reads the values from iCfgParameters and saves them to configuration file. Drive letter is not specified. File will be searched from all drives and if not found file will be crated to c-drive.
Parameters
const TDesC & aCfgFilePath | directory from where to search the configuration file |
const TDesC & aCfgFileName | configuration filename. |
SetParameterL(const TDesC8 &, const TDesC8 &)
Parameters
const TDesC8 & aName | name of the parameter whose value to set |
const TDesC8 & aValue | parameter value to set |
Member Data Documentation
CDesC8ArrayFlat * iCfgParameters
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.