#include <app/cntdb.h>
class CContactChangeNotifier : public CBase |
Public Member Functions | |
---|---|
~CContactChangeNotifier() | |
IMPORT_C CContactChangeNotifier * | NewL(CContactDatabase &, MContactDbObserver *) |
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.
IMPORT_C | ~CContactChangeNotifier | ( | ) |
Removes the observer from the contact database.
IMPORT_C CContactChangeNotifier * | NewL | ( | CContactDatabase & | aDatabase, |
MContactDbObserver * | aObserver | |||
) | [static] |
Allocates and constructs a new contact database change notifier.
Parameter | Description |
---|---|
aDatabase | The contact database to observe. |
aObserver | The observer for aDatabase. Its HandleDatabaseEventL() function is called whenever a change occurs to the database. |
Returns: Pointer to the newly created contact database change notifier.