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]

Destructor.

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.

ParameterDescription
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,
TIntaError
)[pure virtual]

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

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