CContactChangeNotifier Class Reference

class CContactChangeNotifier : public CBase

Receives events reporting changes to a contact database.

After the change notifier has been created, it notifies the specified observer whenever a change takes place to the database.

Inherits from

  • CContactChangeNotifier

Constructor & Destructor Documentation

CContactChangeNotifier(CContactDatabase &, MContactDbObserver *)

CContactChangeNotifier(CContactDatabase &aDatabase,
MContactDbObserver *aObserver
)[private]

Parameters

CContactDatabase & aDatabase
MContactDbObserver * aObserver

~CContactChangeNotifier()

IMPORT_C~CContactChangeNotifier()

Removes the observer from the contact database.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

NewL(CContactDatabase &, MContactDbObserver *)

IMPORT_C CContactChangeNotifier *NewL(CContactDatabase &aDatabase,
MContactDbObserver *aObserver
)[static]

Allocates and constructs a new contact database change notifier.

Parameters

CContactDatabase & aDatabaseThe contact database to observe.
MContactDbObserver * aObserverThe observer for aDatabase. Its HandleDatabaseEventL() function is called whenever a change occurs to the database.

Member Data Documentation

CContactDatabase & iDatabase

CContactDatabase &iDatabase[private]

MContactDbObserver * iObserver

MContactDbObserver *iObserver[private]