MVPbkContactCopyObserver Class Reference

class MVPbkContactCopyObserver

Virtual Phonebook contact copy observer interface. This interface is used to signal the client of the copying operations events.

Constructor & Destructor Documentation

~MVPbkContactCopyObserver()

~MVPbkContactCopyObserver ( ) [protected, inline, virtual]

Destructor.

Member Functions Documentation

ContactCopyObserverExtension(TUid)

TAny * ContactCopyObserverExtension ( TUid ) [inline, virtual]

Returns an extension point for this interface or NULL.

Parameters

TUid

ContactsSaved(MVPbkContactOperationBase &, MVPbkContactLinkArray *)

void ContactsSaved ( MVPbkContactOperationBase & aOperation,
MVPbkContactLinkArray * aResults
) [pure virtual]

Called when the contact has been successfully commited or copied. Caller takes the ownership of results.

Parameters

MVPbkContactOperationBase & aOperation The operation that this observer monitors.
MVPbkContactLinkArray * aResults An array of links to copied contacts. Caller takes the ownership of the object immediately.

ContactsSavingFailed(MVPbkContactOperationBase &, TInt)

void ContactsSavingFailed ( MVPbkContactOperationBase & aOperation,
TInt aError
) [pure virtual]

Called when there was en error while saving contact(s).

Parameters

MVPbkContactOperationBase & aOperation The operation that this observer monitors.
TInt aError an error that occured.