CPbkContactChangeNotifier Class Reference

class CPbkContactChangeNotifier : public CBase

A class used for registering as an observer for contact database change events.

Inherits from

Constructor & Destructor Documentation

CPbkContactChangeNotifier(MPbkContactDbObserver *)

CPbkContactChangeNotifier ( MPbkContactDbObserver * aObserver ) [private, inline]


MPbkContactDbObserver * aObserver


~CPbkContactChangeNotifier ( )

Removes the aObserver from aEngine given as paramters to NewL and destructs this object.

Member Functions Documentation

ConstructL(CPbkContactEngine &)

void ConstructL ( CPbkContactEngine & aEngine ) [private, inline]


CPbkContactEngine & aEngine

NewL(CPbkContactEngine &, MPbkContactDbObserver *)

IMPORT_C CPbkContactChangeNotifier * NewL ( CPbkContactEngine & aEngine,
MPbkContactDbObserver * aObserver
) [static]

Creates a new instance of this class and registers aObserver as an observer of aEngine.


CPbkContactEngine & aEngine The observed object.
MPbkContactDbObserver * aObserver The observer to call when database changes occur.

Member Data Documentation

CPbkContactEngine * iEngine

CPbkContactEngine * iEngine [private]

MPbkContactDbObserver * iObserver

MPbkContactDbObserver * iObserver [private]