CContactChangeNotifier Class Reference

#include <app/cntdb.h>

Link against: cntmodel.lib

class CContactChangeNotifier : public CBase, public CBase

Inherits from

Detailed Description

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.

Constructor & Destructor Documentation

~CContactChangeNotifier ( )

IMPORT_C~CContactChangeNotifier()

Removes the observer from the contact database.

Member Function Documentation

NewL ( CContactDatabase &, MContactDbObserver * )

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

Allocates and constructs a new contact database change notifier.

Parameters
aDatabaseThe contact database to observe.
aObserverThe observer for aDatabase. Its HandleDatabaseEventL() function is called whenever a change occurs to the database.
Return Value
Pointer to the newly created contact database change notifier.