MContactSynchroniser Class Reference

class MContactSynchroniser

Abstract interface for a contacts phonebook synchroniser.

It should be inherited by classes which implement the phonebook synchroniser API. The plug-in should have a second UID of 0x101F4A6E (KUidContactSynchroniserDll).

Member Functions Documentation

CancelNotifyRequest(TUid)

voidCancelNotifyRequest(TUidaPhonebookUid)[pure virtual]

Parameters

TUid aPhonebookUid

DeleteContact(TContactItemId)

TInt DeleteContact(TContactItemIdaId)[pure virtual]

Parameters

TContactItemId aId

GroupIdL(TUid)

TContactItemId GroupIdL(TUidaPhonebookUid)[pure virtual]

Parameters

TUid aPhonebookUid

ICCTemplateIdL(TUid)

TContactItemId ICCTemplateIdL(TUidaPhonebookUid)[pure virtual]

Parameters

TUid aPhonebookUid

IsSynchronisedL(TUid)

TBool IsSynchronisedL(TUidaPhonebookUid)[pure virtual]

Parameters

TUid aPhonebookUid

MContactSynchroniser_Reserved_1()

IMPORT_C voidMContactSynchroniser_Reserved_1()[private, virtual]

Reserved (private) virtual function to allow further extension of the MContactSynchroniser interface without requiring changes to all derived classes. This can be used to return a pointer to an additional extension class.

NotifySyncStateChange(TRequestStatus &, TUid)

voidNotifySyncStateChange(TRequestStatus &aStatus,
TUidaPhonebookUid
)[pure virtual]

Parameters

TRequestStatus & aStatus
TUid aPhonebookUid

PhonebookList(RArray< TUid > &)

TInt PhonebookList(RArray< TUid > &aPhonebookList)[pure virtual]

Parameters

RArray< TUid > & aPhonebookList

Release()

voidRelease()[pure virtual]

UpdatePostWriteL(const CContactICCEntry &)

voidUpdatePostWriteL(const CContactICCEntry &aContactItem)[pure virtual]

Parameters

const CContactICCEntry & aContactItem

ValidateContact(TValidateOperation, TContactItemId)

TInt ValidateContact(TValidateOperationaOp,
TContactItemIdaId
)[pure virtual]

ValidateWriteContact(CContactICCEntry &)

TInt ValidateWriteContact(CContactICCEntry &aContactItem)[pure virtual]

Parameters

CContactICCEntry & aContactItem

Member Enumerations Documentation

Enum TValidateOperation

Enumerators

ERead
ESearch

Check a cached ICC contact can be read

EEdit

Check a cached ICC contact can be searched Check a cached ICC contact can be edited