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

Constructor & Destructor Documentation

CPresenceFilterStore()

CPresenceFilterStore ( ) [private]

Construction

~CPresenceFilterStore()

~CPresenceFilterStore ( ) [virtual]

Destruction

Member Functions Documentation

AssociateL(const CXIMPIdentityImp &, CPresenceInfoFilterImp *)

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

Parameters

const CXIMPIdentityImp & aIdentity The identity
CPresenceInfoFilterImp * aFilter The filter. Ownership is transferred to callee

ConstructL()

void ConstructL ( ) [private]

Construction

Disassociate(const CXIMPIdentityImp &)

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

Parameters

const CXIMPIdentityImp & aIdentity The 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 & aIdentity The identity

NewL()

IMPORT_C CPresenceFilterStore * NewL ( ) [static]

Construction

Member Data Documentation

RXIMPObjOwningPtrArray< CPresenceFilterStoreMapping > iMappings

RXIMPObjOwningPtrArray < CPresenceFilterStoreMapping > iMappings [private]

Array of mappings. Items are owned