MVPbkContactCopyObserver Class Reference

#include <app/MVPbkContactCopyObserver.h>

Link against: VPbkVCardEng.lib

class MVPbkContactCopyObserver
Public Member Functions
virtual TAny *ContactCopyObserverExtension(TUid)
pure virtual voidContactsSaved(MVPbkContactOperationBase &, MVPbkContactLinkArray *)
pure virtual voidContactsSavingFailed(MVPbkContactOperationBase &, TInt)
Protected Member Functions
virtual ~MVPbkContactCopyObserver()

Detailed Description

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]


Member Function Documentation

ContactCopyObserverExtension ( TUid )

TAny *ContactCopyObserverExtension(TUid)[inline, virtual]

Returns an extension point for this interface or NULL.

Returns: Extension point or NULL

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.

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

ContactsSavingFailed ( MVPbkContactOperationBase &, TInt )

voidContactsSavingFailed(MVPbkContactOperationBase &aOperation,
)[pure virtual]

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

aOperationThe operation that this observer monitors.
aErroran error that occured.