#include <mw/activefavouritesdbnotifier.h>
| class CActiveFavouritesDbNotifier : public CActive |
| Public Member Functions | |
|---|---|
| CActiveFavouritesDbNotifier(RFavouritesDb &, MFavouritesDbObserver &) | |
| virtual | ~CActiveFavouritesDbNotifier() |
| IMPORT_C TInt | Start() |
| Protected Member Functions | |
|---|---|
| virtual IMPORT_C void | DoCancel() |
| virtual IMPORT_C void | RunL() |
| Inherited Attributes | |
|---|---|
| CActive::iStatus | |
| Inherited Enumerations | |
|---|---|
| CActive:TPriority | |
ActiveFavouritesDbNotifier is an Active object encapsulating a favourites database notifier. Once this notifier is Start()-ed, it keeps watching the database and notifies the observer, until the database is closed by all clients (i.e. released by DBMS), or it is DoCancel()-led.
| IMPORT_C | CActiveFavouritesDbNotifier | ( | RFavouritesDb & | aDb, |
| MFavouritesDbObserver & | aObserver | |||
| ) | ||||
| Parameters | |
|---|---|
| aDb | The favourites database to watch for. |
| aObserver | The Observer to be notified about database events. |
| IMPORT_C void | DoCancel | ( | ) | [protected, virtual] |
Reimplemented from CActive::DoCancel()
| IMPORT_C void | RunL | ( | ) | [protected, virtual] |
Reimplemented from CActive::RunL()
| IMPORT_C TInt | Start | ( | ) |