| class MVPbkBaseContact |
Virtual Phonebook read-only base contact interface. This class is used as a high-level interface for contacts in the Virtual Phonebook.
| Public Member Functions | |
|---|---|
| TAny * | BaseContactExtension ( TUid ) |
| MVPbkContactBookmark * | CreateBookmarkLC () |
| MVPbkContactLink * | CreateLinkLC () |
| void | DeleteL ( MVPbkContactObserver &) |
| const MVPbkBaseContactFieldCollection & | Fields () |
| TBool | IsSame (const MVPbkBaseContact &) |
| TBool | IsSame (const MVPbkStoreContact &) |
| TBool | IsSame (const MVPbkViewContact &) |
| TBool | MatchContactStore (const TDesC &) |
| TBool | MatchContactStoreDomain (const TDesC &) |
| Protected Member Functions | |
|---|---|
| ~MVPbkBaseContact () | |
| TAny * | BaseContactExtension | ( | TUid | ) | [inline, virtual] |
Returns an extension point for this interface or NULL.
| TUid |
| 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.
| MVPbkContactLink * | CreateLinkLC | ( | ) | const [pure virtual] |
Creates link representing this contact.
| 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. |
| MVPbkContactObserver & 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).
| TBool | IsSame | ( | const MVPbkBaseContact & | aOtherContact | ) | const [pure virtual] |
Returns true if this a representation of the same contact.
| const MVPbkBaseContact & aOtherContact | a contact this contact is compared against. |
| TBool | IsSame | ( | const MVPbkStoreContact & | aOtherContact | ) | const [pure virtual] |
Returns true if this a representation of the same contact.
| const MVPbkStoreContact & aOtherContact | a contact this contact is compared against. |
| TBool | IsSame | ( | const MVPbkViewContact & | aOtherContact | ) | const [pure virtual] |
Returns true if this a representation of the same contact.
| const MVPbkViewContact & aOtherContact | a contact this contact is compared against. |
| TBool | MatchContactStore | ( | const TDesC & | aContactStoreUri | ) | const [pure virtual] |
Returns ETrue if this view contact is from given store
| const TDesC & aContactStoreUri | the URI of the store to compare |
| TBool | MatchContactStoreDomain | ( | const TDesC & | aContactStoreDomain | ) | const [pure virtual] |
Returns ETrue if this contact is from the same store domain as the given one.
| const TDesC & aContactStoreDomain | the the store domain |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.