CXmppSettingsRecord Class Reference
class CXmppSettingsRecord : public CBase |
This class is used for data table manipulations.
This class contains all methods needed to read and write to settings id table.
jabbersettings.lib
- Since
- S60 5.0
Constructor & Destructor Documentation
CXmppSettingsRecord(CRepository &)
~CXmppSettingsRecord()
~CXmppSettingsRecord | ( | ) | [virtual] |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
CreateSettingsRecordIdL(TUint32 &)
void | CreateSettingsRecordIdL | ( | TUint32 & | aNewSettingId | ) | |
This method creates unique setting id.
Parameters
TUint32 & aNewSettingId | On return contains new setting id. |
FindSettingsRecordKeyL(TUint32, TUint32 &)
void | FindSettingsRecordKeyL | ( | TUint32 | aSettingsRecordId, |
| TUint32 & | aSettingsRecordKey |
| ) | |
This method checks does this setting id exist. Leaves with KErrNotFound if it does not.
Parameters
TUint32 aSettingsRecordId | Setting id. |
TUint32 & aSettingsRecordKey | If setting id is found, this contains the setting key on return. |
GetSettingsRecordkeysL(RArray< TUint32 > &)
This method fids all setting keys.
- Since
- S60 5.0 @param aSettingsRecordKeys On return contains all setting keys.
GetSettingsRecordkeysL()
void | GetSettingsRecordkeysL | ( | ) | [private] |
This method fids all setting keys. It fills the internal array with unique ids.
NextFreeSlotL(TUint32 &)
void | NextFreeSlotL | ( | TUint32 & | aFreeKey | ) | [private] |
This method returns next available slot for settings record. It can be new index or it can use deleted slot.
Parameters
TUint32 & aFreeKey | On return contains the next free key. |
Member Data Documentation
CRepository & iRepository
Handle to the Central Repository.
RArray< TUint32 > iSettingsRecordKeyArray
Contains setting id keys.
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.