CSSSettingsAlsNotifier Class Reference

class CSSSettingsAlsNotifier : public CActive

Interface for Als control.

Since
1.0 SsSettings.lib

Inherits from

Public Member Functions
~CSSSettingsAlsNotifier ()
void CancelNotify ()
void GetAlsSupport ( 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 &)
void DoCancel ()
TInt EnsureAlsStatus ()
void HandleNotifyError ( TUint32 , TInt , CCenRepNotifyHandler *)
void HandleNotifyInt ( TUint32 , TInt )
void HandlePubSubNotify (const TUid , const TUint32 )
void RunL ()
Private Member Functions
CSSSettingsAlsNotifier ( RMobilePhone &, RMmCustomAPI &, MCenRepNotifyHandlerCallback &)
CSSSettingsAlsNotifier (const CSSSettingsAlsNotifier &)
TBool CheckIfAlsCSPSupported (const RMobilePhone::TCspCPHSTeleservices )
void ConstructL ()
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()

void CancelNotify ( )

Cancel notify

CheckAlsSupportInProductProfile(TBool &)

TInt CheckAlsSupportInProductProfile ( TBool & aIsAlsSopportedInPP ) [protected]

Gets PP support from ETel.

Parameters

TBool & aIsAlsSopportedInPP Is supported.

CheckAlsSupportInSim(TBool &)

TInt CheckAlsSupportInSim ( TBool & aIsAlsSopportedInSim ) [protected]

Gets Sim support from ETel.

Parameters

TBool & aIsAlsSopportedInSim Is supported.

CheckIfAlsCSPSupported(const RMobilePhone::TCspCPHSTeleservices)

TBool CheckIfAlsCSPSupported ( const RMobilePhone::TCspCPHSTeleservices aContainer ) const [private]

Checks if Alternate Line is to be supported in parameter.

Parameters

const RMobilePhone::TCspCPHSTeleservices aContainer The parameter to be checked.

ConstructL()

void ConstructL ( ) [private]

By default Symbian OS constructor is private.

DoCancel()

void DoCancel ( ) [protected, virtual]

From CActive .

EnsureAlsStatus()

TInt EnsureAlsStatus ( ) [protected]

Checks Als support from Sim and PP if not checked.

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

void GetAlsSupport ( TBool & aPPSupport,
TBool & aSimSupport,
TBool & aCSPSupport,
TInt & aCSPError
)

Get Als support bits.

Parameters

TBool & aPPSupport Product profile support for als
TBool & aSimSupport Sim support for Als.
TBool & aCSPSupport CSP ALS error for als.
TInt & aCSPError

GetAlsValue(TSSSettingsAlsValue &)

TInt GetAlsValue ( TSSSettingsAlsValue & aValue )

Get Als value

Parameters

TSSSettingsAlsValue & aValue the value.

HandleNotifyError(TUint32, TInt, CCenRepNotifyHandler *)

void HandleNotifyError ( TUint32 aId,
TInt aError,
CCenRepNotifyHandler * aHandler
) [protected]

Parameters

TUint32 aId
TInt aError
CCenRepNotifyHandler * aHandler

HandleNotifyInt(TUint32, TInt)

void HandleNotifyInt ( TUint32 aId,
TInt aNewValue
) [protected]

Parameters

TUint32 aId
TInt aNewValue

HandlePubSubNotify(const TUid, const TUint32)

void HandlePubSubNotify ( const TUid aUid,
const TUint32 aKeyId
) [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 & aMobilePhone Mobile phone
RMmCustomAPI & aCustomPhone Pre-opened custom interface.
MCenRepNotifyHandlerCallback & aAlsNotifyHandler

NotifyAlsChange()

TInt NotifyAlsChange ( )

Starts the notifier.

RunL()

void RunL ( ) [protected, virtual]

From CActive .

SetAlsValue(TSSSettingsAlsValue)

TInt SetAlsValue ( TSSSettingsAlsValue aValue )

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]