RSSSettings Class Reference

class RSSSettings
It is class that can be used to fetch phone related settings.
Since
1.0 sssettings.lib

Nested Classes and Structures

Constructor & Destructor Documentation

RSSSettings()

IMPORT_CRSSSettings()

C++ default constructor.

RSSSettings(const RSSSettings &)

RSSSettings(const RSSSettings &)[private]

Parameters

const RSSSettings &

Member Functions Documentation

Cancel(TSSSettingsSetting, MSSSettingsObserver &)

IMPORT_C voidCancel(TSSSettingsSettingaSetting,
MSSSettingsObserver &aObserver
)

Cancel specific setting.

Parameters

TSSSettingsSetting aSettingsetting.
MSSSettingsObserver & aObserverobserver.

CancelAll(MSSSettingsObserver &)

IMPORT_C voidCancelAll(MSSSettingsObserver &aObserver)

Cancels all registrations of the observer.

Parameters

MSSSettingsObserver & aObserverobserver.

Close()

IMPORT_C voidClose()

Closes SsSettings.

After the use of the class, the method must be called.

DeleteSettingsData()

voidDeleteSettingsData()[private]

ExistsObserver(TSSSettingsSetting, MSSSettingsObserver &)

TBool ExistsObserver(TSSSettingsSettingaSetting,
MSSSettingsObserver &aObserver
)[private]

Parameters

TSSSettingsSetting aSetting
MSSSettingsObserver & aObserver

FindOneObserver()

MSSSettingsObserver *FindOneObserver()const [private]

Get(TSSSettingsSetting, TInt &)

IMPORT_C TIntGet(TSSSettingsSettingaSetting,
TInt &aValue
)

Fetch value of a setting.

Parameters

TSSSettingsSetting aSettingsetting.
TInt & aValueresult will be stored here (if success).

GetALSSettingValue(TInt &, const TInt)

TInt GetALSSettingValue(TInt &aValue,
const TIntaSimState
)[private]

Parameters

TInt & aValue
const TInt aSimState

GetCug(TInt &)

TInt GetCug(TInt &aValue)const [private]

Parameters

TInt & aValue

GetDefaultCugL(TInt &)

TInt GetDefaultCugL(TInt &aValue)const [private]

Parameters

TInt & aValue

HandleRefresh()

IMPORT_C TIntHandleRefresh()

Handle refresh

HandleSIMChanged()

IMPORT_C TIntHandleSIMChanged()

It is called when SIM changes.

InformCallBack(TAny *)

TInt InformCallBack(TAny *aPtr)[private, static]

Parameters

TAny * aPtr

InformChange(TSSSettingsSetting, TInt)

voidInformChange(TSSSettingsSettingaSetting,
TIntaNewValue
)[private]

Parameters

TSSSettingsSetting aSetting
TInt aNewValue

IsALSSupported(TInt, TInt, TBool, TInt)

TInt IsALSSupported(TIntaPpAlsValue,
TIntaSimAlsValue,
TBoolaAlsCspSupport,
TIntaAlsCspError
)const [private]

Checks if Alternate Line is to be supported.

Parameters

TInt aPpAlsValueparameter to be checked.
TInt aSimAlsValueparameter to be checked.
TBool aAlsCspSupportparameter to be checked.
TInt aAlsCspErrorparameter to be checked.

IsValueValidCugIndex(const TInt &)

IMPORT_C TBoolIsValueValidCugIndex(const TInt &aValue)const

Check whether or not the given CUG index is valid.

Parameters

const TInt & aValueCUG index

Open()

IMPORT_C TIntOpen()

Opens SsSettings.

Before using the class, one of Open methods must be called.

Open(RTelServer *)

IMPORT_C TIntOpen(RTelServer *aTelServer)

Opens SsSettings.

Ownership of parameters is NOT transferred. If parameter is NULL, then the instance creates its own sessions.

Before using the class, one of Open methods must be called.

Parameters

RTelServer * aTelServerETel server session.

OpenL(RTelServer *)

voidOpenL(RTelServer *aTelServer)[private]

Parameters

RTelServer * aTelServer

PreviousCugValue(TInt &)

IMPORT_C TIntPreviousCugValue(TInt &aPreviousValue)

Get previous CUG value

Parameters

TInt & aPreviousValueOld value is saved here. 0 if not set

Register(TSSSettingsSetting, MSSSettingsObserver &)

IMPORT_C TIntRegister(TSSSettingsSettingaSetting,
MSSSettingsObserver &aObserver
)

Registers an observer to receive changes of a setting.

Parameters

TSSSettingsSetting aSettingsetting.
MSSSettingsObserver & aObserverobserver.

RegisterAll(MSSSettingsObserver &)

IMPORT_C TIntRegisterAll(MSSSettingsObserver &aObserver)

Registers an observer to receive all changes.

Parameters

MSSSettingsObserver & aObserverobserver.

ResetPreviousCugValue()

IMPORT_C TIntResetPreviousCugValue()

Reset previous CUG value

Set(TSSSettingsSetting, TInt)

IMPORT_C TIntSet(TSSSettingsSettingaSetting,
TIntaValue
)

Changes value of a setting. Successfull function call generates notify call to each observer in this object even if the value is the same. From other objects of this class the observers will get only change notifications.

Parameters

TSSSettingsSetting aSettingsetting.
TInt aValuenew value for setting.

SetCug(const TInt, const TInt)

TInt SetCug(const TIntaValue,
const TIntaCugDefault
)const [private]

Parameters

const TInt aValue
const TInt aCugDefault

operator=(const RSSSettings &)

RSSSettings &operator=(const RSSSettings &)[private]

Parameters

const RSSSettings &

Member Type Definitions Documentation

Typedef RSSSettingsObserverArray

typedef RPointerArray< MSSSettingsObserver >RSSSettingsObserverArray[private]

Member Data Documentation

TSSSettingsData * iData

TSSSettingsData *iData[private]