CSSSettingsAlsNotifier Class Reference

class CSSSettingsAlsNotifier : public CActive

Interface for Als control.

Since
1.0 SsSettings.lib

Inherits from

Public Member Functions
~CSSSettingsAlsNotifier()
voidCancelNotify()
voidGetAlsSupport(TBool &, TBool &, TBool &, TInt &)
TInt GetAlsValue(TSSSettingsAlsValue &)
TInt HandleRefresh()
CSSSettingsAlsNotifier *NewL(RMobilePhone &, RMmCustomAPI &, MCenRepNotifyHandlerCallback &)
TInt NotifyAlsChange()
TInt SetAlsValue(TSSSettingsAlsValue)
Protected Member Functions
TInt CheckAlsSupportInProductProfile(TBool &)
TInt CheckAlsSupportInSim(TBool &)
voidDoCancel()
TInt EnsureAlsStatus()
voidHandleNotifyError(TUint32, TInt, CCenRepNotifyHandler *)
voidHandleNotifyInt(TUint32, TInt)
voidHandlePubSubNotify(const TUid, const TUint32)
voidRunL()
Private Member Functions
CSSSettingsAlsNotifier(RMobilePhone &, RMmCustomAPI &, MCenRepNotifyHandlerCallback &)
CSSSettingsAlsNotifier(const CSSSettingsAlsNotifier &)
TBool CheckIfAlsCSPSupported(const RMobilePhone::TCspCPHSTeleservices)
voidConstructL()
CSSSettingsAlsNotifier &operator=(const CSSSettingsAlsNotifier &)
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::RunError(TInt)
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Inherited Enumerations
CActive:TPriority
Private Attributes
TInt iAlsCSPError
TBool iAlsCSPSupport
MCenRepNotifyHandlerCallback *iAlsNotifyHandler
TBool iAlsStatusChecked
CCenRepNotifyHandler *iCenRepNotifyHandler
RMmCustomAPI &iCustomPhone
RMobilePhone &iMobilePhone
TBool iPPSupportAls
CSSSettingsActiveObject *iPPSupportsAlNotifier
CRepository *iRepository
RMobilePhone::TMobilePhoneALSLine iSimActiveAls
TBool iSimSupportAls
CSSSettingsActiveObject *iSimSupportsAlsNotifier
Inherited Attributes
CActive::iStatus

Constructor & Destructor Documentation

CSSSettingsAlsNotifier(RMobilePhone &, RMmCustomAPI &, MCenRepNotifyHandlerCallback &)

CSSSettingsAlsNotifier(RMobilePhone &aMobilePhone,
RMmCustomAPI &aCustomPhone,
MCenRepNotifyHandlerCallback &aAlsNotifyHandler
)[private]

C++ constructor.

Parameters

RMobilePhone & aMobilePhone
RMmCustomAPI & aCustomPhone
MCenRepNotifyHandlerCallback & aAlsNotifyHandler

CSSSettingsAlsNotifier(const CSSSettingsAlsNotifier &)

CSSSettingsAlsNotifier(const CSSSettingsAlsNotifier &)[private]

Parameters

const CSSSettingsAlsNotifier &

~CSSSettingsAlsNotifier()

~CSSSettingsAlsNotifier()[virtual]

Destructor.

Member Functions Documentation

CancelNotify()

voidCancelNotify()

Cancel notify

CheckAlsSupportInProductProfile(TBool &)

TInt CheckAlsSupportInProductProfile(TBool &aIsAlsSopportedInPP)[protected]

Gets PP support from ETel.

Parameters

TBool & aIsAlsSopportedInPPIs supported.

CheckAlsSupportInSim(TBool &)

TInt CheckAlsSupportInSim(TBool &aIsAlsSopportedInSim)[protected]

Gets Sim support from ETel.

Parameters

TBool & aIsAlsSopportedInSimIs supported.

CheckIfAlsCSPSupported(const RMobilePhone::TCspCPHSTeleservices)

TBool CheckIfAlsCSPSupported(const RMobilePhone::TCspCPHSTeleservicesaContainer)const [private]

Checks if Alternate Line is to be supported in parameter.

Parameters

const RMobilePhone::TCspCPHSTeleservices aContainerThe parameter to be checked.

ConstructL()

voidConstructL()[private]

By default Symbian OS constructor is private.

DoCancel()

voidDoCancel()[protected, virtual]

From CActive.

EnsureAlsStatus()

TInt EnsureAlsStatus()[protected]

Checks Als support from Sim and PP if not checked.

GetAlsSupport(TBool &, TBool &, TBool &, TInt &)

voidGetAlsSupport(TBool &aPPSupport,
TBool &aSimSupport,
TBool &aCSPSupport,
TInt &aCSPError
)

Get Als support bits.

Parameters

TBool & aPPSupportProduct profile support for als
TBool & aSimSupportSim support for Als.
TBool & aCSPSupportCSP ALS error for als.
TInt & aCSPError

GetAlsValue(TSSSettingsAlsValue &)

TInt GetAlsValue(TSSSettingsAlsValue &aValue)

Get Als value

Parameters

TSSSettingsAlsValue & aValuethe value.

HandleNotifyError(TUint32, TInt, CCenRepNotifyHandler *)

voidHandleNotifyError(TUint32aId,
TIntaError,
CCenRepNotifyHandler *aHandler
)[protected]

Parameters

TUint32 aId
TInt aError
CCenRepNotifyHandler * aHandler

HandleNotifyInt(TUint32, TInt)

voidHandleNotifyInt(TUint32aId,
TIntaNewValue
)[protected]

Parameters

TUint32 aId
TInt aNewValue

HandlePubSubNotify(const TUid, const TUint32)

voidHandlePubSubNotify(const TUidaUid,
const TUint32aKeyId
)[protected]

From MSSSettingsAlsNotify.

Parameters

const TUid aUid
const TUint32 aKeyId

HandleRefresh()

TInt HandleRefresh()

Handle SIM refresh

NewL(RMobilePhone &, RMmCustomAPI &, MCenRepNotifyHandlerCallback &)

CSSSettingsAlsNotifier *NewL(RMobilePhone &aMobilePhone,
RMmCustomAPI &aCustomPhone,
MCenRepNotifyHandlerCallback &aAlsNotifyHandler
)[static]

Two-phased constructor.

Parameters

RMobilePhone & aMobilePhoneMobile phone
RMmCustomAPI & aCustomPhonePre-opened custom interface.
MCenRepNotifyHandlerCallback & aAlsNotifyHandler

NotifyAlsChange()

TInt NotifyAlsChange()

Starts the notifier.

RunL()

voidRunL()[protected, virtual]

From CActive.

SetAlsValue(TSSSettingsAlsValue)

TInt SetAlsValue(TSSSettingsAlsValueaValue)

Set Als value.

Parameters

TSSSettingsAlsValue aValue

operator=(const CSSSettingsAlsNotifier &)

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

Parameters

const CSSSettingsAlsNotifier &

Member Data Documentation

TInt iAlsCSPError

TInt iAlsCSPError[private]

TBool iAlsCSPSupport

TBool iAlsCSPSupport[private]

MCenRepNotifyHandlerCallback * iAlsNotifyHandler

MCenRepNotifyHandlerCallback *iAlsNotifyHandler[private]

TBool iAlsStatusChecked

TBool iAlsStatusChecked[private]

CCenRepNotifyHandler * iCenRepNotifyHandler

CCenRepNotifyHandler *iCenRepNotifyHandler[private]

RMmCustomAPI & iCustomPhone

RMmCustomAPI &iCustomPhone[private]

RMobilePhone & iMobilePhone

RMobilePhone &iMobilePhone[private]

TBool iPPSupportAls

TBool iPPSupportAls[private]

CSSSettingsActiveObject * iPPSupportsAlNotifier

CSSSettingsActiveObject *iPPSupportsAlNotifier[private]

CRepository * iRepository

CRepository *iRepository[private]

RMobilePhone::TMobilePhoneALSLine iSimActiveAls

RMobilePhone::TMobilePhoneALSLine iSimActiveAls[private]

TBool iSimSupportAls

TBool iSimSupportAls[private]

CSSSettingsActiveObject * iSimSupportsAlsNotifier

CSSSettingsActiveObject *iSimSupportsAlsNotifier[private]