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

voidConstructL()[private]

Symbian 2nd phase constructor

DecrementReferenceCount(CSIPProfile &)

voidDecrementReferenceCount(CSIPProfile &aProfile)

Decrement concrete profile reference count

Parameters

CSIPProfile & aProfileinstance of proxy profile that is deleted

ErrorOccurred(CSIPConcreteProfile::TStatus, TInt)

voidErrorOccurred(CSIPConcreteProfile::TStatusaStatus,
TIntaError
)

Stores last occurred registration error

Parameters

CSIPConcreteProfile::TStatus aStatusstatus indicating if error occurred during registering (EURegistrationInProgress) or deregistering (EUnregistrationInProgress)
TInt aErroroccurred error code

IncrementReferenceCountL(CSIPProfile &)

voidIncrementReferenceCountL(CSIPProfile &aProfile)

Increment concrete profile reference count

Parameters

CSIPProfile & aProfileinstance 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 *)

voidSetConcreteProfile(CSIPConcreteProfile *aProfile)

Set concrete profile

Parameters

CSIPConcreteProfile * aProfileprofile to be cached

SetEnabled(TBool)

voidSetEnabled(TBoolaEnabled)

Enables and disables profile

Parameters

TBool aEnabled

SetProfile(CSIPProfile &)

voidSetProfile(CSIPProfile &aProfile)

Set proxy profile

Parameters

CSIPProfile & aProfileprofile accessed by application

SetProfileId(TUint)

voidSetProfileId(TUintaProfileId)

Set profile id

Parameters

TUint aProfileIdprofile 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]