MVPbkContactObserver Class Reference
#include
<app/MVPbkContactObserver.h>
Link against: VPbkVCardEng.lib
class MVPbkContactObserver |
Nested Classes and Structures
Detailed Description
Virtual Phonebook Contact operation observer interface. This interface is used to signal the contact operation client of events.
Member Enumeration Documentation
Enum TContactOp
Operation codes for Contact operation observers.
Enumerator | Value | Description |
---|
EContactOperationUnknown | 0 | Unknown operation. |
EContactRead | | See MVPbkViewContact::ReadL. |
EContactReadAndLock | | See MVPbkViewContact::ReadAndLockL. |
EContactDelete | | See MVPbkBaseContact::DeleteL. |
EContactLock | | See MVPbkStoreContact::LockL. |
EContactCommit | | See MVPbkStoreContact::Commit. |
EContactSetOwn | | See MVPbkContactStore::SetOwnContacL. |
Constructor & Destructor Documentation
~MVPbkContactObserver ( )
~MVPbkContactObserver | ( | ) | [protected, inline, virtual] |
Member Function Documentation
ContactObserverExtension ( TUid )
TAny * | ContactObserverExtension | ( | TUid | | ) | [inline, virtual] |
Returns an extension point for this interface or NULL.
Returns: Extension point or NULL.
ContactOperationCompleted ( TContactOpResult )
Parameter | Description | aResult | The result of the operation. The client takes the ownership of the iStoreContact immediately if set in aResult. |
ContactOperationFailed ( TContactOp, TInt, TBool )
void | ContactOperationFailed | ( | TContactOp | aOpCode, |
| TInt | aErrorCode, |
| TBool | aErrorNotified |
| ) | [pure virtual] |
Called when a contact operation has failed.
Parameter | Description | aOpCode | The operation that failed. |
aErrorCode | System error code of the failure. KErrAccessDenied when EContactCommit means that contact hasn't been locked. |
aErrorNotified | ETrue if the implementation has already notified user about the error, EFalse otherwise. |