Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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:
NewL(), ~CContactChangeNotifier()

Inherited from CBase:
Delete(), Extension_(), operator new()


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.