CPresenceFilterStore Class Reference

class CPresenceFilterStore : public CBase

Filter store. Defines a one-to-one mapping of an identity to a presence filter.

Since
S60 v4.0

Inherits from

  • CPresenceFilterStore

Constructor & Destructor Documentation

CPresenceFilterStore()

CPresenceFilterStore()[private]

Construction

~CPresenceFilterStore()

~CPresenceFilterStore()[virtual]

Destruction

Member Functions Documentation

AssociateL(const CXIMPIdentityImp &, CPresenceInfoFilterImp *)

IMPORT_C voidAssociateL(const CXIMPIdentityImp &aIdentity,
CPresenceInfoFilterImp *aFilter
)
Associate identity with filter
leave
KErrAlreadyExists if the association exists

Parameters

const CXIMPIdentityImp & aIdentityThe identity
CPresenceInfoFilterImp * aFilterThe filter. Ownership is transferred to callee

ConstructL()

voidConstructL()[private]

Construction

Disassociate(const CXIMPIdentityImp &)

IMPORT_C voidDisassociate(const CXIMPIdentityImp &aIdentity)
Remove association.
leave
KErrNotFound if the association does not exist

Parameters

const CXIMPIdentityImp & aIdentityThe identity

FilterForIdentity(const CXIMPIdentityImp &)

IMPORT_C CPresenceInfoFilterImp *FilterForIdentity(const CXIMPIdentityImp &aIdentity)
Find the filter associated with the given identity.
leave
KErrNotFound if the association does not exist

Parameters

const CXIMPIdentityImp & aIdentityThe identity

NewL()

IMPORT_C CPresenceFilterStore *NewL()[static]

Construction

Member Data Documentation

RXIMPObjOwningPtrArray< CPresenceFilterStoreMapping > iMappings

RXIMPObjOwningPtrArray< CPresenceFilterStoreMapping >iMappings[private]

Array of mappings. Items are owned