CPbkContactChangeNotifier Class Reference

class CPbkContactChangeNotifier : public CBase

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

Inherits from

  • CPbkContactChangeNotifier

Constructor & Destructor Documentation

CPbkContactChangeNotifier(MPbkContactDbObserver *)

CPbkContactChangeNotifier(MPbkContactDbObserver *aObserver)[private, inline]

Parameters

MPbkContactDbObserver * aObserver

~CPbkContactChangeNotifier()

~CPbkContactChangeNotifier()

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

Member Functions Documentation

ConstructL(CPbkContactEngine &)

voidConstructL(CPbkContactEngine &aEngine)[private, inline]

Parameters

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.

Parameters

CPbkContactEngine & aEngineThe observed object.
MPbkContactDbObserver * aObserverThe observer to call when database changes occur.

Member Data Documentation

CPbkContactEngine * iEngine

CPbkContactEngine *iEngine[private]

MPbkContactDbObserver * iObserver

MPbkContactDbObserver *iObserver[private]