#include <app/MVPbkSingleContactLinkOperationObserver.h>
class MVPbkSingleContactLinkOperationObserver |
Public Member Functions | |
---|---|
virtual TAny * | SingleContactLinkOperationObserverExtension(TUid) |
pure virtual void | VPbkSingleContactLinkOperationComplete(MVPbkContactOperationBase &, MVPbkContactLink *) |
pure virtual void | VPbkSingleContactLinkOperationFailed(MVPbkContactOperationBase &, TInt) |
Protected Member Functions | |
---|---|
virtual | ~MVPbkSingleContactLinkOperationObserver() |
An observer interface for asynchronous single contact link operations.
The interface is used in asynchronous operations that are related to one contact link.
~MVPbkSingleContactLinkOperationObserver | ( | ) | [protected, inline, virtual] |
void | VPbkSingleContactLinkOperationComplete | ( | MVPbkContactOperationBase & | aOperation, |
MVPbkContactLink * | aLink | |||
) | [pure virtual] |
Called when the operation is completed.
A client has the operation as a member and it can delete the operation instance in this function call. If the implementation of the store calls the function from the operation instance it must not handle any member data after calling it.
NOTE: If you use CleanupStack for MVPbkContactLink Use CleanupDeletePushL from e32base.h. (Do Not Use CleanupStack::PushL(TAny*) because then the virtual destructor of the M-class won't be called when the object is deleted).
Parameter | Description |
---|---|
aOperation | The completed operation. |
aLink | The contact link returned by the operation. A client must take the ownership immediately. |
void | VPbkSingleContactLinkOperationFailed | ( | MVPbkContactOperationBase & | aOperation, |
TInt | aError | |||
) | [pure virtual] |
Called if the operation fails.
A client has the operation as a member and it can delete the operation instance in this function call. If the implementation of the store calls the function from the operation instance it must not handle any member data after calling it.
Parameter | Description |
---|---|
aOperation | The failed operation. |
aError | An error code of the failure. |