MPbkGlobalSetting Class Reference

class MPbkGlobalSetting

Abstract interface for accessing global settings.

Constructor & Destructor Documentation

~MPbkGlobalSetting()

~MPbkGlobalSetting ( ) [inline, virtual]

Virtual destructor.

Member Functions Documentation

Cleanup(TAny *)

void Cleanup ( TAny * aObj ) [static, inline]

Parameters

TAny * aObj

Close()

void Close ( ) [pure virtual]

Closes the connection.

ConnectL(TPbkGlobalSettingCategory)

void ConnectL ( TPbkGlobalSettingCategory aCategory ) [pure virtual]

Connects to the setting with category aUid. If KNullUid is used as the parameter, creates a temporary setting if applicable to implementation.

Parameters

TPbkGlobalSettingCategory aCategory Category of the setting to connect to.

Get(TPbkGlobalSetting, TInt &)

TInt Get ( TPbkGlobalSetting aKey,
TInt & aValue
) [pure virtual]

Gets an integer value with key aKey. Returns one of the system wide error codes.

Parameters

TPbkGlobalSetting aKey Subcategory of the value to get.
TInt & aValue

Get(TPbkGlobalSetting, TDes &)

TInt Get ( TPbkGlobalSetting aKey,
TDes & aValue
) [pure virtual]

Gets an integer value with key aKey. Returns one of the system wide error codes.

Parameters

TPbkGlobalSetting aKey Subcategory of the value to get.
TDes & aValue

Get(TPbkGlobalSetting, TReal &)

TInt Get ( TPbkGlobalSetting aKey,
TReal & aValue
) [pure virtual]

Gets an integer value with key aKey. Returns one of the system wide error codes.

Parameters

TPbkGlobalSetting aKey Subcategory of the value to get.
TReal & aValue

PushL()

void PushL ( ) [inline]

Pushes the object to cleanup stack. When the object is destroyed for example by calling CleanupStack::PopAndDestroy() , Close() will be called prior to deleting.

RegisterObserverL(MPbkGlobalSettingObserver *)

void RegisterObserverL ( MPbkGlobalSettingObserver * ) [inline, virtual]

Registers an observer for setting changes. Only one setting can be observed

Set(TPbkGlobalSetting, TInt)

TInt Set ( TPbkGlobalSetting aKey,
TInt aValue
) [pure virtual]

Sets an integer value with key aKey. Returns one of the system wide error codes.

Parameters

TPbkGlobalSetting aKey Subcategory of the value to set.
TInt aValue

Set(TPbkGlobalSetting, const TDesC &)

TInt Set ( TPbkGlobalSetting aKey,
const TDesC & aValue
) [pure virtual]

Sets an integer value with key aKey. Returns one of the system wide error codes.

Parameters

TPbkGlobalSetting aKey Subcategory of the value to set.
const TDesC & aValue

Set(TPbkGlobalSetting, TReal)

TInt Set ( TPbkGlobalSetting aKey,
TReal aValue
) [pure virtual]

Sets an integer value with key aKey. Returns one of the system wide error codes.

Parameters

TPbkGlobalSetting aKey Subcategory of the value to set.
TReal aValue

Member Enumerations Documentation

Enum TPbkGlobalSetting

Enumerators

EUndefinedSetting
ENameOrdering
EAllowOpen1Touch
ECheckDuplicateEntry
ECopyFromSimAsked
ELocalVariationFlags
ENameSeparatorChar
ECurrentSimOwnedStatus
ESimInsertedStatus
EBTSapEnabledStatus
EPreferredTelephony
EEditorMaxNumberLength
ETestIntSetting
ETestRealSetting
ETestStringSetting

Enum TPbkGlobalSettingCategory

Enumerators

EUndefinedCategory
EGeneralSettingCategory
ESystemStatusCategory
EPbkSystemStateCategory
ELocalVariationCategory
EBTSapCategory
ERichCallSettingsCategory
EPbkConfigurationCategory
ETestCategory