CVPbkContactAttributePlugin Class Reference

class CVPbkContactAttributePlugin : public CBase

ECom plugin interface for contact attribute plugins.

Inherits from

  • CVPbkContactAttributePlugin

Nested Classes and Structures

Constructor & Destructor Documentation

~CVPbkContactAttributePlugin()

~CVPbkContactAttributePlugin()[inline]

Member Functions Documentation

AttributeType()

TUid AttributeType()const [inline]

CreateListContactsOperationL(TUid, MVPbkContactFindObserver &)

MVPbkContactOperation *CreateListContactsOperationL(TUidaAttributeType,
MVPbkContactFindObserver &aObserver
)[pure virtual]

Creates an operation object instance for listing contacts.

Parameters

TUid aAttributeTypeAttribute type for the operation.
MVPbkContactFindObserver & aObserverOperation observer.

CreateListContactsOperationL(const MVPbkContactAttribute &, MVPbkContactFindObserver &)

MVPbkContactOperation *CreateListContactsOperationL(const MVPbkContactAttribute &aAttribute,
MVPbkContactFindObserver &aObserver
)[pure virtual]

Creates an operation object instance for listing contacts.

Parameters

const MVPbkContactAttribute & aAttribute
MVPbkContactFindObserver & aObserverOperation observer.

FindFieldWithAttributeL(const MVPbkContactAttribute &, MVPbkStoreContact &)

MVPbkStoreContactField *FindFieldWithAttributeL(const MVPbkContactAttribute &aAttr,
MVPbkStoreContact &aContact
)const [inline]

This functionality has been implemented in terms of HasFieldAttributeL so plugins don't need to implement it by their own.

Exceptions
KErrNotSupported

The default implementation always leaves with KErrNotSupported.

Parameters

const MVPbkContactAttribute & aAttrContact attributes to search for.
MVPbkStoreContact & aContactContact from which to look for a field.

NewL(TUid, TParam &)

CVPbkContactAttributePlugin *NewL(TUidaUid,
TParam &aParam
)[static, inline]

Two-phase constructor for the plugin.

Parameters

TUid aUidPlugin attribute type.
TParam & aParamPlugin parameters, see CVPbkContactAttributePlugin::TParam.

Member Data Documentation

TUid iAttributeType

TUid iAttributeType[private]

TUid iDtorIDKey

TUid iDtorIDKey[private]