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

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

GetMmCallById(const TInt)

CMmCallTsy * GetMmCallById ( const TInt aCallId ) [virtual]

Returns the Call by ID

Parameters

const TInt aCallId

GetMmCallByIndex(const TInt)

CMmCallTsy * GetMmCallByIndex ( const TInt aIndex ) [virtual]

Returns the Call that has the given index in container

Parameters

const TInt aIndex

GetMmCallByIndexAndLine(const TInt, const TName *)

CMmCallTsy * GetMmCallByIndexAndLine ( const TInt aIndex,
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::TMobileService aCallMode ) [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::TMobileCallStatus aStatus ) [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 *)

void RemoveCallsByLine ( const TName * aLineName ) [virtual]

Removes Calls from Call list opened from a given Line

Parameters

const TName * aLineName

RemoveMmCallById(const TInt)

TInt RemoveMmCallById ( const TInt aMmCallId ) [virtual]

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

Parameters

const TInt aMmCallId