CSIPProfileItem Class Reference

class CSIPProfileItem : public CBase

The class provides profile caching and reference counting

sipprofilecli.lib

Inherits from

Constructor & Destructor Documentation

CSIPProfileItem()

CSIPProfileItem ( ) [private]

Default constructor

~CSIPProfileItem()

~CSIPProfileItem ( )

Destructor.

Member Functions Documentation

Compare(const CSIPProfileItem &, const CSIPProfileItem &)

TBool Compare ( const CSIPProfileItem & aItem,
const CSIPProfileItem & aItem2
) [static]

Compare two items

Parameters

const CSIPProfileItem & aItem
const CSIPProfileItem & aItem2

ConcreteProfile()

const CSIPConcreteProfile & ConcreteProfile ( ) const

Get concrete profile

ConcreteProfile()

CSIPConcreteProfile & ConcreteProfile ( )

Get concrete profile

ConstructL()

void ConstructL ( ) [private]

Symbian 2nd phase constructor

DecrementReferenceCount(CSIPProfile &)

void DecrementReferenceCount ( CSIPProfile & aProfile )

Decrement concrete profile reference count

Parameters

CSIPProfile & aProfile instance of proxy profile that is deleted

ErrorOccurred(CSIPConcreteProfile::TStatus, TInt)

void ErrorOccurred ( CSIPConcreteProfile::TStatus aStatus,
TInt aError
)

Stores last occurred registration error

Parameters

CSIPConcreteProfile::TStatus aStatus status indicating if error occurred during registering (EURegistrationInProgress) or deregistering (EUnregistrationInProgress)
TInt aError occurred error code

IncrementReferenceCountL(CSIPProfile &)

void IncrementReferenceCountL ( CSIPProfile & aProfile )

Increment concrete profile reference count

Parameters

CSIPProfile & aProfile instance of proxy profile pointing concrete profile

IsEnabled()

TBool IsEnabled ( ) const

Check if enabled

NewL()

CSIPProfileItem * NewL ( ) [static]

Two-phased constructor.

NewLC()

CSIPProfileItem * NewLC ( ) [static]

Two-phased constructor.

Profile()

CSIPProfile * Profile ( ) const

Get proxy profile

ReferenceCount()

TUint ReferenceCount ( ) const

Get count of proxy profiles pontinc concrete profile

SetConcreteProfile(CSIPConcreteProfile *)

void SetConcreteProfile ( CSIPConcreteProfile * aProfile )

Set concrete profile

Parameters

CSIPConcreteProfile * aProfile profile to be cached

SetEnabled(TBool)

void SetEnabled ( TBool aEnabled )

Enables and disables profile

Parameters

TBool aEnabled

SetProfile(CSIPProfile &)

void SetProfile ( CSIPProfile & aProfile )

Set proxy profile

Parameters

CSIPProfile & aProfile profile accessed by application

SetProfileId(TUint)

void SetProfileId ( TUint aProfileId )

Set profile id

Parameters

TUint aProfileId profile id

Member Data Documentation

CSIPConcreteProfile * iConcreteProfile

CSIPConcreteProfile * iConcreteProfile [private]

TBool iEnabled

TBool iEnabled [private]

TUint iProfileId

TUint iProfileId [private]

RPointerArray< CSIPProfile > iProfiles

RPointerArray < CSIPProfile > iProfiles [private]