CNATFWCenRepHandler Class Reference
class CNATFWCenRepHandler : public CBase |
Class provides methods for make easier the usage of Central Repository.
natsettings.lib
- Since
- S60 v3.2
Constructor & Destructor Documentation
CNATFWCenRepHandler()
CNATFWCenRepHandler | ( | ) | [private] |
~CNATFWCenRepHandler()
~CNATFWCenRepHandler | ( | ) | [virtual] |
Member Functions Documentation
ConstructL(const TUid &)
void | ConstructL | ( | const TUid & | aRepositoryUid | ) | [private] |
Parameters
const TUid & aRepositoryUid | |
CreateNewKeyL(const TUint32, const TUint32)
Create new Central Repository key for setting if settings haves already keys it increase the biggest key by one
example: CR have keys 10010001 and 10010002. aSettingKeyMask = 10010000, aFieldMask = fffff000 return value = 00000003.
- Since
- S60 3.2
-
leave
- KErrNone if successful or system wide error code from CR
Parameters
const TUint32 aSettingKeyMask | Keymask for the setting |
const TUint32 aFieldMask | Field for the setting keymasks |
FindServerKeys(TUint32, RArray< TUint32 > &)
Finds and returns server keys from given partialId.
Parameters
TUint32 aPartialId | Contains a bit pattern that all the keys returned must at least partially match |
RArray< TUint32 > & aFoundKeys | All the keys found |
NewL(const TUid &)
Parameters
const TUid & aRepositoryUid | |
Read(const TUint32 &, TUint &)
Reads TUint value from the Central Repository
Parameters
const TUint32 & aKey | ID wanted to be read |
TUint & aKeyValue | Read value |
Read(const TUint32 &, TInt &)
Reads TInt value from the Central Repository
Parameters
const TUint32 & aKey | ID wanted to be read |
TInt & aKeyValue | Read value |
ReadBoolValue(const TUint32 &, TBool &)
Reads boolean value from the Central Repository
Parameters
const TUint32 & aKey | ID wanted to be read |
TBool & aKeyValue | Read value |
ReadDomainSettingsKey(const TDesC8 &, TUint32 &)
Reads domain settings key by using domain name for search.
Parameters
const TDesC8 & aDomain | Domain name which is searched from the Central Repository |
TUint32 & aDomainKey | Returns discovered CR key |
ReadIapSettingsKey(TInt, TUint32 &)
Reads IAP settings key from Central Repository using IAP ID for search.
Parameters
TInt aIapId | Which is searched from Central Repository |
TUint32 & aIapKey | Returns discovered CR key |
ReadL(const TUint32 &)
Reads descriptor from the Central Repository
- Since
- S60 3.2
-
leave
- KErrNoMemory if memory allocation fails
Parameters
const TUint32 & aKey | ID wanted to be read |
Member Data Documentation
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.