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 *)

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

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

Parameters

MVPbkContactOperationBase & aOperationThe operation that this observer monitors.
MVPbkContactLinkArray * aResultsAn array of links to copied contacts. Caller takes the ownership of the object immediately.

ContactsSavingFailed(MVPbkContactOperationBase &, TInt)

voidContactsSavingFailed(MVPbkContactOperationBase &aOperation,
TIntaError
)[pure virtual]

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

Parameters

MVPbkContactOperationBase & aOperationThe operation that this observer monitors.
TInt aErroran error that occured.