CMmCallList Class Reference

class CMmCallList : public CMmTsyObjectList

This class provides the means for the Phone object (CMmPhoneTsy class) to keep track of opened calls from all Lines. When ever a Call object is opened it should be put on the Phone's CallList. Exception: Call objects for incoming calls -> TSY does not want visibility of these objects to clients.

Inherits from

Constructor & Destructor Documentation

CMmCallList()

CMmCallList()[private]

C++ default constructor.

~CMmCallList()

~CMmCallList()[virtual]

Destructor.

Member Functions Documentation

AddObject(CTelObject *)

TInt AddObject(CTelObject *aObject)[virtual]

This method adds a TSY object to the container

Parameters

CTelObject * aObject

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

GetMmCallById(const TInt)

CMmCallTsy *GetMmCallById(const TIntaCallId)[virtual]

Returns the Call by ID

Parameters

const TInt aCallId

GetMmCallByIndex(const TInt)

CMmCallTsy *GetMmCallByIndex(const TIntaIndex)[virtual]

Returns the Call that has the given index in container

Parameters

const TInt aIndex

GetMmCallByIndexAndLine(const TInt, const TName *)

CMmCallTsy *GetMmCallByIndexAndLine(const TIntaIndex,
const TName *aLineName
)[virtual]

Returns the Call that has the given index in container

Parameters

const TInt aIndex
const TName * aLineName

GetMmCallByMode(const RMobilePhone::TMobileService)

CMmCallTsy *GetMmCallByMode(const RMobilePhone::TMobileServiceaCallMode)[virtual]

Returns the Call that has the given mode

Parameters

const RMobilePhone::TMobileService aCallMode

GetMmCallByName(const TName *)

CMmCallTsy *GetMmCallByName(const TName *aName)[virtual]

Returns the Call by name

Parameters

const TName * aName

GetMmCallByStatus(RMobileCall::TMobileCallStatus)

CMmCallTsy *GetMmCallByStatus(RMobileCall::TMobileCallStatusaStatus)[virtual]

Returns the Call that has the given status

NewL(CMmPhoneTsy *)

CMmCallList *NewL(CMmPhoneTsy *aMmPhone)[static]

Two-phased constructor.

Parameters

CMmPhoneTsy * aMmPhone

RemoveCallsByLine(const TName *)

voidRemoveCallsByLine(const TName *aLineName)[virtual]

Removes Calls from Call list opened from a given Line

Parameters

const TName * aLineName

RemoveMmCallById(const TInt)

TInt RemoveMmCallById(const TIntaMmCallId)[virtual]

Removes the Call that has given ID, from the Call container

Parameters

const TInt aMmCallId