CImDataCache Class Reference

class CImDataCache : public CBase

PSC Im Data Cache implementation.

Since
S60 v3.2

Inherits from

Constructor & Destructor Documentation

CImDataCache(MXIMPHost &)

CImDataCache(MXIMPHost &aHost)[private]

Parameters

MXIMPHost & aHost

~CImDataCache()

~CImDataCache()[virtual]

Destruction

Member Functions Documentation

AddEventL(CXIMPApiEventBase &, MXIMPPscContext *)

voidAddEventL(CXIMPApiEventBase &aEvent,
MXIMPPscContext *aContext
)[private]

Parameters

CXIMPApiEventBase & aEvent
MXIMPPscContext * aContext

CleanExpired()

IMPORT_C voidCleanExpired()

CleanResources(MXIMPPscContext &)

IMPORT_C voidCleanResources(MXIMPPscContext &aContext)

Clean resources concerning context.

Parameters

MXIMPPscContext & aContext

ConstructL()

voidConstructL()[private]

ConversationSubscriptionItemLC()

IMPORT_C CConversationSubscriptionItem &ConversationSubscriptionItemLC()

GetInterface(TInt)

TAny *GetInterface(TIntaInterfaceId)[private]

Parameters

TInt aInterfaceId

ItemLC(Type *&)

Type &ItemLC(Type *&aItem)[private]

Templated item instance creation. If item is not found it is created.

Parameters

Type *& aItemReference to pointer where new item should be saved.

NewL(MXIMPHost &)

IMPORT_C CImDataCache *NewL(MXIMPHost &aHost)[static]

Construction

Parameters

MXIMPHost & aHost

RegisterExpiringItemL(CXIMPSubscriptionItemBase *)

voidRegisterExpiringItemL(CXIMPSubscriptionItemBase *aExpireItem)[private]

Parameters

CXIMPSubscriptionItemBase * aExpireItem

RemoveMe(CConversationSubscriptionItem *)

voidRemoveMe(CConversationSubscriptionItem *aChild)[private]

Parameters

CConversationSubscriptionItem * aChild

RemoveMe(Type *&, Type *)

IMPORT_C voidRemoveMe(Type *&aItem,
Type *aChild
)[private, static]

Template method for removeMe when one subscription item is target.

Parameters

Type *& aItemReference to subscription item pointer to remove.
Type * aChild

UnregisterExpiringItem(CXIMPSubscriptionItemBase *)

voidUnregisterExpiringItem(CXIMPSubscriptionItemBase *aExpireItem)[private]

Parameters

CXIMPSubscriptionItemBase * aExpireItem

Member Data Documentation

CConversationSubscriptionItem * iConversationSubscriptionItem

CConversationSubscriptionItem *iConversationSubscriptionItem[private]

Does not own. Removed when RemoveMe called.

MXIMPHost & iHost

MXIMPHost &iHost[private]

Access to host.