Location:
cntdbobs.h
Link against:
MContactDbObserver
Supported from 5.0
Specifies the mixin protocol for an 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.
Defined in MContactDbObserver
:
HandleDatabaseEventL()
virtual void HandleDatabaseEventL(TContactDbObserverEvent aEvent)=0;
Tests the contact database observer event type and handles it.
The ID of a contact affected by the change event, if relevant, can be retrieved
via TContactDbObserverEvent::iContactId
.
|