MPbkContactDbObserver Class Reference

API published in: S60 1st Ed
API deprecated in: S60 5th Ed

Link against: pbkeng.lib

Capability Information

Required Capabilities

ReadUserData WriteUserData


#include <
mpbkcontactdbobserver.h>

Inherited by CSpdiaControl.


Detailed Description

Interface class for Phonebook contact database observers.
See also:
MContactDbObserver

CPbkContactChangeNotifier


Protected Member Functions

virtual void HandleDatabaseEventL (TContactDbObserverEvent aEvent)=0
 Called by CPbkContactEngine when it receives a database change event.
virtual void DatabaseEventHandledL (TContactDbObserverEvent)
 Called by CPbkContactEngine after HandleDatabaseEventL has been called for all observers.
virtual ~MPbkContactDbObserver ()
 Protected destructor.

Friends

class CPbkContactEngine
 CPbkContactEngine calls protected functions of this class.

Constructor & Destructor Documentation

virtual MPbkContactDbObserver::~MPbkContactDbObserver  )  [inline, protected, virtual]
 

Protected destructor.

Observers are not destroyed via this interface.


Member Function Documentation

virtual void MPbkContactDbObserver::DatabaseEventHandledL TContactDbObserverEvent   )  [inline, protected, virtual]
 

Called by CPbkContactEngine after HandleDatabaseEventL has been called for all observers.

In other words: CPbkContactEngine calls first HandleDatabaseEventL for all its observers and then this function again for all observers. You can think of it as an "all observers have seen aEvent" -notification. This used in Phonebook view activation for now. Default implementation does nothing.

Parameters:
aEvent The database event
virtual void MPbkContactDbObserver::HandleDatabaseEventL TContactDbObserverEvent  aEvent  )  [protected, pure virtual]
 

Called by CPbkContactEngine when it receives a database change event.

From MContactDbObserver.

Parameters:
aEvent The database event.

Friends And Related Function Documentation

friend class CPbkContactEngine [friend]
 

CPbkContactEngine calls protected functions of this class.


The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top