#include <app/MVPbkContactStoreObserver.h>
class TVPbkContactStoreEvent |
Public Attributes | |
---|---|
MVPbkContactLink * | iContactLink |
TVPbkContactStoreEventType | iEventType |
TAny * | iSpare |
TAny * | iSpare2 |
Public Member Enumerations | |
---|---|
enum | TVPbkContactStoreEventType { ENullEvent, EContactAdded, EContactDeleted, EContactChanged, ..., EUnknownChanges } |
Public Member Functions | |
---|---|
TVPbkContactStoreEvent(TVPbkContactStoreEventType, MVPbkContactLink *) |
A class for a contact store event.
The contact store event contains the type of the event and possibly a contact link to a changed contact.
MVPbkContactLink * | iContactLink |
Ref: Link to the contact that is accociated with the event or NULL. The link is valid only during HandleStoreEventL function call and client can not take the ownership of the instance.
TVPbkContactStoreEventType | iEventType |
Own: Type of the event that has happened.
TAny * | iSpare |
Own: Spare for future extension.
TAny * | iSpare2 |
Own: Spare for future extension.
The type of the event
Enumerator | Value | Description |
---|---|---|
ENullEvent | No event occured. | |
EContactAdded | A contact has been added to the contact store. | |
EContactDeleted | A contact has been deleted from the contact store. | |
EContactChanged | An existing contact in the contact store has been changed. | |
EGroupAdded | A contact group has been added to the contact store. | |
EGroupDeleted | A contact group has been deleted from the contact store. | |
EGroupChanged | An existing contact group in the contact store has been changed. | |
EStoreBackupBeginning | Contact store backup is beginning. | |
EStoreRestoreBeginning | Contact store restore is beginning. | |
EStoreBackupRestoreCompleted | Contact store backup or restore is completed. | |
EUnknownChanges | There has been some unknown changes in the contact store. |
TVPbkContactStoreEvent | ( | TVPbkContactStoreEventType | aEventType, |
MVPbkContactLink * | aContactLink | ||
) | [inline] |
Constructor
Parameter | Description |
---|---|
aEventType | The type of the contact store event |
aContactLink | The identifier of the changed contact or NULL. The link is not owned by this class. |