MPbkContactDbObserver Class Reference

class MPbkContactDbObserver : public MContactDbObserver

Interface class for Phonebook contact database observers.

MContactDbObserver CPbkContactChangeNotifier

Inherits from

Constructor & Destructor Documentation

~MPbkContactDbObserver()

~MPbkContactDbObserver()[protected, inline, virtual]

Protected destructor. Observers are not destroyed via this interface.

Member Functions Documentation

DatabaseEventHandledL(TContactDbObserverEvent)

voidDatabaseEventHandledL(TContactDbObserverEvent)[protected, inline, virtual]

Called by CPbkContactEngine after HandleDatabaseEventL has been called for all observers. In other words: CPbkContactEngine calls first HandleDatabaseEventL for all its observers and then this function again for all observers. You can think of it as an "all observers have seen aEvent" -notification. This used in Phonebook view activation for now. Default implementation does nothing.

HandleDatabaseEventL(TContactDbObserverEvent)

voidHandleDatabaseEventL(TContactDbObserverEventaEvent)[protected, pure virtual]

Called by CPbkContactEngine when it receives a database change event. From MContactDbObserver.

Parameters

TContactDbObserverEvent aEventThe database event.