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 *)

voidCleanup(TAny *aObj)[static, inline]

Parameters

TAny * aObj

Close()

voidClose()[pure virtual]

Closes the connection.

ConnectL(TPbkGlobalSettingCategory)

voidConnectL(TPbkGlobalSettingCategoryaCategory)[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 aCategoryCategory of the setting to connect to.

Get(TPbkGlobalSetting, TInt &)

TInt Get(TPbkGlobalSettingaKey,
TInt &aValue
)[pure virtual]

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

Parameters

TPbkGlobalSetting aKeySubcategory of the value to get.
TInt & aValue

Get(TPbkGlobalSetting, TDes &)

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

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

Parameters

TPbkGlobalSetting aKeySubcategory of the value to get.
TDes & aValue

Get(TPbkGlobalSetting, TReal &)

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

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

Parameters

TPbkGlobalSetting aKeySubcategory of the value to get.
TReal & aValue

PushL()

voidPushL()[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 *)

voidRegisterObserverL(MPbkGlobalSettingObserver *)[inline, virtual]

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

Set(TPbkGlobalSetting, TInt)

TInt Set(TPbkGlobalSettingaKey,
TIntaValue
)[pure virtual]

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

Parameters

TPbkGlobalSetting aKeySubcategory of the value to set.
TInt aValue

Set(TPbkGlobalSetting, const TDesC &)

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

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

Parameters

TPbkGlobalSetting aKeySubcategory of the value to set.
const TDesC & aValue

Set(TPbkGlobalSetting, TReal)

TInt Set(TPbkGlobalSettingaKey,
TRealaValue
)[pure virtual]

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

Parameters

TPbkGlobalSetting aKeySubcategory 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