CHciUtil Class Reference
class CHciUtil : public CBase |
Constructor & Destructor Documentation
Member Functions Documentation
CloseIniFile()
IMPORT_C void | CloseIniFile | ( | ) | |
Closes any ini file currently open.
ConstructL(const TDesC &)
void | ConstructL | ( | const TDesC & | aComponentName | ) | [private] |
Parameters
const TDesC & aComponentName | |
DestroyedImplementation(TUid)
IMPORT_C void | DestroyedImplementation | ( | TUid | aKey | ) | [static] |
Indicates that a specific ECom instance should be destroyed.
GetFromFileL(const TDesC &, const TDesC &, TPtrC &)
void | GetFromFileL | ( | const TDesC & | aSection, |
| const TDesC & | aTag, |
| TPtrC & | aRetText |
| ) | [private] |
GetUidFromFileL(const TDesC &, const TDesC &)
IMPORT_C TUid | GetUidFromFileL | ( | const TDesC & | aSection, |
| const TDesC & | aTag |
| ) | |
Gets a TUid from an opened ini file.
Parameters
const TDesC & aSection | The section name under which the tag for the UID is to be found. |
const TDesC & aTag | The tag which marks up the UID that is required. |
GetValueFromFileL(const TDesC &, const TDesC &)
Gets a numeric value from an opened ini file.
Parameters
const TDesC & aSection | The section name under which the tag for the UID is to be found. |
const TDesC & aTag | The tag which marks up the UID that is required. |
LoadImplementationL(TUid, TInt)
IMPORT_C TAny * | LoadImplementationL | ( | TUid | aIfUid, |
| TInt | aKeyOffset |
| ) | [static] |
Utility for loading HCI plugins. Attempts to create a plugin instance with the appropriate interface.
- leave
- KErrNotFound If no ECom plugins supporting the supplied interface UID are available.
- leave
- KErrArgument If more than one ECom plugin implementations are providing the specified interface.
Parameters
TUid aIfUid | The ECom interface UID to create an instance of. |
TInt aKeyOffset | The key offset. |
LoadImplementationL(TUid, TUid, TInt)
IMPORT_C TAny * | LoadImplementationL | ( | TUid | aIfUid, |
| TUid | aImplUid, |
| TInt | aKeyOffset |
| ) | [static] |
NewL(const TDesC &)
Creates an instance of CHciUtil for working with a HCI config file for a particular component.
Parameters
const TDesC & aComponentName | The name of the component using the instance. |
OpenIniFileL()
IMPORT_C void | OpenIniFileL | ( | ) | |
Opens an ini file based on the name of the component (provided when the
CHciUtil instance was created.) It looks for the file in the default path.
- panic
- KHciUtilPanic EAlreadyAnInFileOpen If the CHciUtil instance already has an ini file opened.
OpenIniFileL(const TDesC &, const TDesC &)
IMPORT_C void | OpenIniFileL | ( | const TDesC & | aPath, |
| const TDesC & | aFile |
| ) | |
Opens an ini file with a particular name in a given path location.
- panic
- KHciUtilPanic EAlreadyAnIniFileOpen If the CHciUtil instance already has an ini file opened.
Parameters
const TDesC & aPath | The path the ini file is located. |
const TDesC & aFile | The name of the ini file to be opened. |
SymbianErrorCode(THCIErrorCode)
A Method that converts a HCI error code (as defined by the Bluetooth specification) into a Symbian error code.
Member Data Documentation
TBuf< KMaxHciUtilComponentName > iCompName
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.