CRCSERegistryBase Class Reference
class CRCSERegistryBase : public CBase |
Base class for RCSE registry classes
Encapsules settings repository connections and handles backup events.
Constructor & Destructor Documentation
CRCSERegistryBase(TRCSERegistryType)
~CRCSERegistryBase()
~CRCSERegistryBase | ( | ) | [virtual] |
Member Functions Documentation
BaseConstructL()
void | BaseConstructL | ( | ) | [protected] |
BeginL()
Prepares operation. Checks that there is not backup/restore opearation ongoing and begins transaction.
- Since
- S60 v3.2
-
leave
- KErrNotReady if there is backuoperation ongoing.
-
leave
- KErrLocked if there is write operation already ongoing.
CleanupDbPropArray(TAny *)
void | CleanupDbPropArray | ( | TAny * | aPointer | ) | [protected, static] |
Custom cleanup for cenrep db property array.
Parameters
TAny * aPointer | Array pointer |
CreatePropertyL(TUint, const TDesC &, RIpAppPropArray &)
Create CenRep db property to given property array.
Parameters
TUint aPropertyName | Name of created property. |
const TDesC & aPropertyValue | Value of created property. |
RIpAppPropArray & aPropertyArray | Container of properties. |
EndL()
Ends user operations. Commits transaction.
FindAllIdsL(RArray< TUint32 > &)
Search all entry IDs from CenRep database.
FindIdsByValueL(TUint, const TDesC &, RArray< TUint32 > &)
Create CenRep db property to given property array.
Parameters
TUint aPropertyName | Searh criteria. |
const TDesC & aPropertyValue | Searh criteria. |
RArray< TUint32 > & aIdArray | Contains all found entry IDs. |
GetPropertyValueL(TUint, TDes &, RIpAppPropArray &)
Find value of property from given property array.
Parameters
TUint aPropertyName | Name of requested property. |
TDes & aPropertyValue | Value of requested property. |
RIpAppPropArray & aPropertyArray | Container of properties. |
HandleBackupOperationEventL()
void | HandleBackupOperationEventL | ( | ) | |
ImportSettingsL()
void | ImportSettingsL | ( | ) | [protected] |
Imports rcse settings from restored database file
ToDes(TInt32, TDes &)
Helper method that converts TInt32 type to descriptor.
Parameters
TInt32 aFrom | TInt32 value to be converted. |
TDes & aTo | Descriptor containing the converted value. |
ToDes(TUint32, TDes &)
Helper method that converts TUint32 type to descriptor.
Parameters
TUint32 aFrom | TUint32 value to be converted. |
TDes & aTo | Descriptor containing the converted value. |
ToTInt32L(const TDesC &)
Helper method that converts descriptor type to TInt32.
Parameters
const TDesC & aFrom | Descriptor to be converted. |
ToTUint32L(const TDesC &)
Helper method that converts descriptor type to TUint32.
Parameters
const TDesC & aFrom | Descriptor to be converted. |
Member Enumerations Documentation
Enum TItemType
Item types in settings table
Enumerators
EItemUnknown = 0 | |
EItemDeleted = 1 | |
EItemVoIPEntry = 2 | |
EItemCodecEntry = 3 | |
EItemAttribute = 4 | |
Enum TRCSERegistryType
Enumerators
EUnknown | |
EVoIPProfile | |
ESIPSetting | |
EAudioCodecSetting | |
ESCCPProfile | |
Member Data Documentation
TBool
iBackupActive
TBool
| iBackupActive | [protected] |
CRCSEBackupObserver * iBackupObserver
CRCSEBackupObserver * | iBackupObserver | [protected] |
CCenRepDatabaseUtil * iCenRepDb
CCenRepDatabaseUtil * | iCenRepDb | [protected] |
Interface to RCSE's settings storage Own.
TRCSERegistryType
iType
Registry type of this object
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.