#include <app/MVPbkBaseContact.h>
| class MVPbkBaseContact |
| Public Member Functions | |
|---|---|
| virtual TAny * | BaseContactExtension(TUid) |
| pure virtual MVPbkContactBookmark * | CreateBookmarkLC() |
| pure virtual MVPbkContactLink * | CreateLinkLC() |
| pure virtual void | DeleteL(MVPbkContactObserver &) |
| pure virtual const MVPbkBaseContactFieldCollection & | Fields() |
| pure virtual TBool | IsSame(const MVPbkBaseContact &) |
| pure virtual TBool | IsSame(const MVPbkStoreContact &) |
| pure virtual TBool | IsSame(const MVPbkViewContact &) |
| pure virtual TBool | MatchContactStore(const TDesC &) |
| pure virtual TBool | MatchContactStoreDomain(const TDesC &) |
| Protected Member Functions | |
|---|---|
| virtual | ~MVPbkBaseContact() |
Virtual Phonebook read-only base contact interface. This class is used as a high-level interface for contacts in the Virtual Phonebook.
| MVPbkContactBookmark * | CreateBookmarkLC | ( | ) | const [pure virtual] |
Creates and returns a bookmark that points to the contact. Bookmark can be used to retrieve an index of the contact in the view.
Returns: A new bookmark to the contact
| MVPbkContactLink * | CreateLinkLC | ( | ) | const [pure virtual] |
Creates link representing this contact.
Returns: A link or NULL if the contact doesn't exist in the store, e.g. a folding contact in the view could be that kind or a new contact that hasn't been committed to the store. NULL is not put into the CleanupStack.
| void | DeleteL | ( | MVPbkContactObserver & | aObserver | ) | const [pure virtual] |
Deletes this contact from store asynchronously.
| KErrInUse |
If another asynchronous operation is already in progress. |
| KErrAccessDenied |
if the contact can not be modified. |
| Parameter | Description |
|---|---|
| aObserver | The observer to call back when this operation completes. The observer will not be called if this function leaves. |
| const MVPbkBaseContactFieldCollection & | Fields | ( | ) | const [pure virtual] |
Returns this contact's fields (read only).
Returns: This contact's fields in read only mode.
| TBool | IsSame | ( | const MVPbkBaseContact & | aOtherContact | ) | const [pure virtual] |
Returns true if this a representation of the same contact.
| Parameter | Description |
|---|---|
| aOtherContact | a contact this contact is compared against. |
Returns: ETrue if this and aOtherContact represent the same contact.
| TBool | IsSame | ( | const MVPbkStoreContact & | aOtherContact | ) | const [pure virtual] |
Returns true if this a representation of the same contact.
| Parameter | Description |
|---|---|
| aOtherContact | a contact this contact is compared against. |
Returns: ETrue if this and aOtherContact represent the same contact.
| TBool | IsSame | ( | const MVPbkViewContact & | aOtherContact | ) | const [pure virtual] |
Returns true if this a representation of the same contact.
| Parameter | Description |
|---|---|
| aOtherContact | a contact this contact is compared against. |
Returns: ETrue if this and aOtherContact represent the same contact.