CPsetCallDiverting Class Reference

class CPsetCallDiverting : public CBase
CPsetCallDiverting class is call diverting SS handler. phonesettings.lib
Since
1.0

Inherits from

Constructor & Destructor Documentation

CPsetCallDiverting(RMobilePhone &)

CPsetCallDiverting(RMobilePhone &aPhone)[private]

Parameters

RMobilePhone & aPhone

~CPsetCallDiverting()

IMPORT_C~CPsetCallDiverting()

Member Functions Documentation

CancelCurrentRequest()

IMPORT_C TIntCancelCurrentRequest()

ConstructL(MPsetDivertObserver &)

voidConstructL(MPsetDivertObserver &aObserver)[private]

Parameters

MPsetDivertObserver & aObserver

GetDefaultNumbersL(CDesC16ArrayFlat &)

IMPORT_C TIntGetDefaultNumbersL(CDesC16ArrayFlat &aDefNumbers)

The default (last forwarded-to) numbers can be retrieved through this method.

Parameters

CDesC16ArrayFlat & aDefNumbersRead default numbers from shared data.

GetDivertingStatusL(const TServiceGroup, const TCallDivertingCondition, TBasicServiceGroups)

IMPORT_C voidGetDivertingStatusL(const TServiceGroupaServiceGroup,
const TCallDivertingConditionaCondition,
TBasicServiceGroupsaBsc
)

Parameters

const TServiceGroup aServiceGroup
const TCallDivertingCondition aCondition
TBasicServiceGroups aBsc

GetTimerValueL()

IMPORT_C TIntGetTimerValueL()

Gets the default time for CF No Reply. No error checking for return values which should be 5-30, in steps of 5.

GetUsedDataNumberLC()

IMPORT_C HBufC *GetUsedDataNumberLC()

Gets the phone number used for data call forwarding.

GetUsedFaxNumberLC()

IMPORT_C HBufC *GetUsedFaxNumberLC()

Gets the phone number used for fax call forwarding.

NewL(MPsetDivertObserver &, RMobilePhone &)

IMPORT_C CPsetCallDiverting *NewL(MPsetDivertObserver &aObserver,
RMobilePhone &aPhone
)[static]

Symbian OS 2-phase Constructor.

Parameters

MPsetDivertObserver & aObserverCall divert observer.
RMobilePhone & aPhoneProvides client access to mobile phone functionality provided by TSY.

OpenVideoMailboxLC(TDes &, RVmbxNumber &)

TInt OpenVideoMailboxLC(TDes &aTelNumber,
RVmbxNumber &aVmbx
)[private]

Parameters

TDes & aTelNumber
RVmbxNumber & aVmbx

SetDivertingL(const TCallDivertSetting &, TBasicServiceGroups, TBool)

IMPORT_C voidSetDivertingL(const TCallDivertSetting &aDivert,
TBasicServiceGroupsaBsc,
TBoolaVmbx = EFalse
)

Parameters

const TCallDivertSetting & aDivert
TBasicServiceGroups aBsc
TBool aVmbx = EFalse

SetNewDefaultNumberL(TDes &)

IMPORT_C TIntSetNewDefaultNumberL(TDes &aNumber)

Sets new default number to the default numbers list, erases the oldest one automatically, if three numbers already in the shared data.

Parameters

TDes & aNumberNew number to be added.

SetRequestObserver(MPsetRequestObserver *)

IMPORT_C voidSetRequestObserver(MPsetRequestObserver *aObs)

Sets request observer.

Parameters

MPsetRequestObserver * aObsWhere the request completion should be informed to.

SetTimerValueL(const TInt &)

IMPORT_C TIntSetTimerValueL(const TInt &aIndex)

Sets the default time for CF No Reply. No error checking to parameters, which should be on range 5-30, using steps of 5.

Parameters

const TInt & aIndexNew value for timer.

SetUsedDataNumberL(TTelNumber &)

IMPORT_C TIntSetUsedDataNumberL(TTelNumber &aNumber)

Saves last used data number to shared data.

Parameters

TTelNumber & aNumberNumber used for data call forwarding.

SetUsedFaxNumberL(TTelNumber &)

IMPORT_C TIntSetUsedFaxNumberL(TTelNumber &aNumber)

Saves last used fax number to shared data.

Parameters

TTelNumber & aNumberNumber used for data fax forwarding.

SwapDefaultNumberL(const TInt &)

IMPORT_C voidSwapDefaultNumberL(const TInt &aLocation)

Swaps the most recently used number to first in shared data file.

Parameters

const TInt & aLocationUsed number's location (1-3) in shared data.

VideoMailQueryL(TDes &)

IMPORT_C voidVideoMailQueryL(TDes &aTelNumber)
Queries for video mailbox number. If number is undefined, number entry pops up.
Since
3.1

Parameters

TDes & aTelNumberVideo mailbox number.

VoiceMailQueryL(TDes &)

IMPORT_C voidVoiceMailQueryL(TDes &aTelNumber)
Queries for voice mail box number. If number is undefined, number entry pops up.
Since
2.0

Parameters

TDes & aTelNumberVmbx number.

Member Data Documentation

MCallDiverting * iDivert

MCallDiverting *iDivert[private]

MPsetDivertObserver * iObserver

MPsetDivertObserver *iObserver[private]

RMobilePhone & iPhone

RMobilePhone &iPhone[private]

CRepository * iRepository

CRepository *iRepository[private]

MPsetRequestObserver * iReqObserver

MPsetRequestObserver *iReqObserver[private]