![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Section Contents
Applications that use this class will not work correctly on a version of EPOC earlier than ER5.
cntdbobs.h
Specifies the mixin protocol for a contact database observer to handle changes to a contact database. It should be inherited by classes which implement this protocol.
It specifies a single pure virtual function which should be implemented by the observer class to test the type of the change event (see the TContactDbObserverEventType enum) and handle it.
A contact database observer pointer is passed to the NewL() function for the CContactChangeNotifier class.
void HandleDatabaseEventL(TContactDbObserverEvent aEvent);
The implementation of this function should test the event type, (TContactDbObserverEvent::iType) and handle it. The ID of a contact affected by the change event, if relevant, can be retrieved via TContactDbObserverEvent::iContactId.
TContactDbObserverEvent aEvent |
Provides information about the change event. |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |