Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <CNTDB.H>
Link against: cntmodel.lib

Class CContactChangeNotifier

class CContactChangeNotifier : public CBase;

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.

Derivation

Members

Defined in CContactChangeNotifier:

Inherited from CBase:


Construction and destruction


~CContactChangeNotifier()

IMPORT_C ~CContactChangeNotifier();

Description

Removes the observer from the contact database.


NewL()

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

Description

Allocates and constructs a new contact database change notifier.

Parameters

CContactDatabase &aDatabase

The contact database to observe.

MContactDbObserver *aObserver

The observer for aDatabase. Its HandleDatabaseEventL() function is called whenever a change occurs to the database.

Return value

CContactChangeNotifier *

Pointer to the newly created contact database change notifier.