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 TInt CancelCurrentRequest ( )

ConstructL(MPsetDivertObserver &)

void ConstructL ( MPsetDivertObserver & aObserver ) [private]

Parameters

MPsetDivertObserver & aObserver

GetDefaultNumbersL(CDesC16ArrayFlat &)

IMPORT_C TInt GetDefaultNumbersL ( CDesC16ArrayFlat & aDefNumbers )

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

Parameters

CDesC16ArrayFlat & aDefNumbers Read default numbers from shared data.

GetDivertingStatusL(const TServiceGroup, const TCallDivertingCondition, TBasicServiceGroups)

IMPORT_C void GetDivertingStatusL ( const TServiceGroup aServiceGroup,
const TCallDivertingCondition aCondition,
TBasicServiceGroups aBsc
)

Parameters

const TServiceGroup aServiceGroup
const TCallDivertingCondition aCondition
TBasicServiceGroups aBsc

GetTimerValueL()

IMPORT_C TInt GetTimerValueL ( )

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 & aObserver Call divert observer.
RMobilePhone & aPhone Provides 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 void SetDivertingL ( const TCallDivertSetting & aDivert,
TBasicServiceGroups aBsc,
TBool aVmbx = EFalse
)

Parameters

const TCallDivertSetting & aDivert
TBasicServiceGroups aBsc
TBool aVmbx = EFalse

SetNewDefaultNumberL(TDes &)

IMPORT_C TInt SetNewDefaultNumberL ( 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 & aNumber New number to be added.

SetRequestObserver(MPsetRequestObserver *)

IMPORT_C void SetRequestObserver ( MPsetRequestObserver * aObs )

Sets request observer.

Parameters

MPsetRequestObserver * aObs Where the request completion should be informed to.

SetTimerValueL(const TInt &)

IMPORT_C TInt SetTimerValueL ( 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 & aIndex New value for timer.

SetUsedDataNumberL(TTelNumber &)

IMPORT_C TInt SetUsedDataNumberL ( TTelNumber & aNumber )

Saves last used data number to shared data.

Parameters

TTelNumber & aNumber Number used for data call forwarding.

SetUsedFaxNumberL(TTelNumber &)

IMPORT_C TInt SetUsedFaxNumberL ( TTelNumber & aNumber )

Saves last used fax number to shared data.

Parameters

TTelNumber & aNumber Number used for data fax forwarding.

SwapDefaultNumberL(const TInt &)

IMPORT_C void SwapDefaultNumberL ( const TInt & aLocation )

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

Parameters

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

VideoMailQueryL(TDes &)

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

Parameters

TDes & aTelNumber Video mailbox number.

VoiceMailQueryL(TDes &)

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

Parameters

TDes & aTelNumber Vmbx 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]