cntdbobs.h File Reference

Enum TContactDbObserverEventType

Change event type. For events which update, delete or add a contact item, the ID of the item affected is provided in the TContactDbObserverEvent struct.

EnumeratorValueDescription
EContactDbObserverEventNull

Null event type.

EContactDbObserverEventUnused

Not currently used.

EContactDbObserverEventContactChanged

A contact item (not a template, group or own card) has been changed.

EContactDbObserverEventContactDeleted

A contact item (not a template, group or own card) has been deleted.

EContactDbObserverEventContactAdded

A contact item (not a template or group) has been added.

EContactDbObserverEventUnknownChanges

Unknown change event type.

EContactDbObserverEventRecover

Recover from a damaged database.

EContactDbObserverEventRollback

Rollback from a change to the database.

EContactDbObserverEventTablesClosed

Database tables closed.

EContactDbObserverEventTablesOpened

Database tables opened.

EContactDbObserverEventTemplateChanged

A contact card template has changed.

EContactDbObserverEventTemplateDeleted

A contact card template has been deleted.

EContactDbObserverEventTemplateAdded

A contact card template has been added.

EContactDbObserverEventCurrentItemDeleted

The database's current item has been deleted.

EContactDbObserverEventCurrentItemChanged

The database's current item has changed.

EContactDbObserverEventOwnCardChanged

The database's own card has changed.

EContactDbObserverEventPreferredTemplateChanged

The database's preferred template has been set. (See CContactDatabase::SetPrefTemplateL()).

EContactDbObserverEventOwnCardDeleted

An own card has been deleted from the database.

EContactDbObserverEventGroupAdded

A contact item group has been added.

EContactDbObserverEventGroupChanged

A contact item group has been updated.

EContactDbObserverEventGroupDeleted

A contact item group has been deleted from the database.

EContactDbObserverEventCurrentDatabaseChanged

The current database has changed.

EContactDbObserverEventSpeedDialsChanged

The phone number assigned to one of the speed dial positions has been replaced, removed or modified.

EContactDbObserverEventSortOrderChanged

Not currently used.

EContactDbObserverEventBackupBeginning

Contacts DB about to be backed up

EContactDbObserverEventRestoreBeginning

Contacts DB about to be restored

EContactDbObserverEventBackupRestoreCompleted

The backup/restore operation has completed.

EContactDbObserverEventRestoreBadDatabase

The restore operation has completed but the database could not be opened.

EContactDbObserverEventCompress

Database has been compressed.

Enum TContactDbObserverEventTypeV2

Extended change event type. Includes addtional database events client can subsribe for.

EnumeratorValueDescription
EContactDbObserverEventV2Null

Null event type.

EContactDbObserverEventV2ContactsAddedToGroup

Group has been updated, contacts were added to a group.

EContactDbObserverEventV2ContactsRemovedFromGroup

Group has been updated, contacts were removed from a group.

EContactDbObserverEventV2GroupChanged

Group has been updated (other change than added or removed contacts).