CPhoneDialerController Class Reference

class CPhoneDialerController : public CBase

Dialer controller, provides toolbar button data for the normal mode dialer

PhoneUIView.lib
Since
S60 v5.0

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

CPhoneDialerController(CPhoneBubbleWrapper *, CCoeEnv &)

IMPORT_C CPhoneDialerController ( CPhoneBubbleWrapper * aBubbleWrapper,
CCoeEnv & aCoeEnv
) [protected]

Constructor.

Parameters

CPhoneBubbleWrapper * aBubbleWrapper
CCoeEnv & aCoeEnv

~CPhoneDialerController()

IMPORT_C ~CPhoneDialerController ( ) [virtual]

Destructor.

Member Functions Documentation

ButtonDimmed(TButtonIndex)

IMPORT_C TBool ButtonDimmed ( TButtonIndex aIndex ) const

Parameters

TButtonIndex aIndex

ButtonState(TButtonIndex)

IMPORT_C TInt ButtonState ( TButtonIndex aIndex ) const

Parameters

TButtonIndex aIndex

CbaResourceId()

IMPORT_C TInt CbaResourceId ( ) const

ConstructL()

IMPORT_C void ConstructL ( ) [protected]

Symbian 2nd phase constructor.

CreateButtonDataL(const TLocalButtonData &, MAknsSkinInstance *, const TDesC &)

CButtonData * CreateButtonDataL ( const TLocalButtonData & aSourceData,
MAknsSkinInstance * aSkin,
const TDesC & aMifFile
) const [protected]

Create button data object from given source data.

Parameters

const TLocalButtonData & aSourceData Defines, where the data should be loaded.
MAknsSkinInstance * aSkin Skin instance. Ownership not transferred.
const TDesC & aMifFile Full path to the MIF file holding the fallback graphics.

EasyDialingAllowed()

IMPORT_C TBool EasyDialingAllowed ( ) const

EasyDialingFocused()

TBool EasyDialingFocused ( ) const [protected]

Check if Easy Dialing contact listbox is in focus.

EmergencyCallActive()

TBool EmergencyCallActive ( ) const [protected]

Check is there an emergency call ongoing.

GetButtonData(TButtonIndex, RPointerArray< CButtonData > &)

IMPORT_C TInt GetButtonData ( TButtonIndex aIndex,
RPointerArray < CButtonData > & aData
) const

Parameters

TButtonIndex aIndex
RPointerArray < CButtonData > & aData

MenuResourceId()

IMPORT_C TInt MenuResourceId ( ) const

NewL(CPhoneBubbleWrapper *, CCoeEnv &)

CPhoneDialerController * NewL ( CPhoneBubbleWrapper * aBubbleWrapper,
CCoeEnv & aCoeEnv
) [static]

Two-phased constructor.

Parameters

CPhoneBubbleWrapper * aBubbleWrapper Handle to bubble wrapper. Ownership not transferred. May be NULL, but then emergency call state can't be identified
CCoeEnv & aCoeEnv Handle to coeenv. Ownership not transferred.

NumberEntryPromptTextL()

IMPORT_C const TDesC & NumberEntryPromptTextL ( )

SetEasyDialingController(CPhoneEasyDialingController *)

void SetEasyDialingController ( CPhoneEasyDialingController * aController )

Sets handle to the Easy Dialing controller.

Since
S60 v5.2

Parameters

CPhoneEasyDialingController * aController Easy Dialing controller. Ownership not transferred.

SetNumberEntryIsEmpty(TBool)

IMPORT_C void SetNumberEntryIsEmpty ( TBool aEmpty )

Parameters

TBool aEmpty

SetRestrictedDialer(TBool)

void SetRestrictedDialer ( TBool aRestricted )

Sets state of restricted dialer.

Since
S60 v5.0

Parameters

TBool aRestricted

SetServiceCodeFlag(TPhoneCommandParam *)

void SetServiceCodeFlag ( TPhoneCommandParam * aCommandParam )

Sets state of service code flag.

Since
S60 v5.0

Parameters

TPhoneCommandParam * aCommandParam

Member Data Documentation

CPhoneBubbleWrapper * iBubbleWrapper

CPhoneBubbleWrapper * iBubbleWrapper [protected]

Handle to the Bubblewrapper. May be NULL. Not owned.

CCoeEnv & iCoeEnv

CCoeEnv & iCoeEnv [protected]

CoeEnv

CPhoneEasyDialingController * iEasyDialingController

CPhoneEasyDialingController * iEasyDialingController [protected]

Handle to Easy Dialing controller. May be NULL. Not owned.

TBool iNumberAvailable

TBool iNumberAvailable [protected]

Store availability of phone number (etc) in the number entry.

TBool iRestrictedDialer

TBool iRestrictedDialer [protected]

Used to check is the Dialer in the restricted mode.

TBool iServiceCodeFlag

TBool iServiceCodeFlag [protected]

Used to check is the service code flag set, meaning that number entry contains a service code rather than phone number.