CActiveFavouritesDbNotifier Class Reference

#include <mw/activefavouritesdbnotifier.h>

class CActiveFavouritesDbNotifier : public CActive

Inherits from

  • CActiveFavouritesDbNotifier

    Detailed Description

    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.

    Constructor & Destructor Documentation

    CActiveFavouritesDbNotifier ( RFavouritesDb &, MFavouritesDbObserver & )

    IMPORT_CCActiveFavouritesDbNotifier(RFavouritesDb &aDb,
    MFavouritesDbObserver &aObserver
    )
    Constructor.
    Since
    0.9
    ParameterDescription
    aDbThe favourites database to watch for.
    aObserverThe Observer to be notified about database events.

    ~CActiveFavouritesDbNotifier ( )

    IMPORT_C~CActiveFavouritesDbNotifier()[virtual]

    Destructor.

    Member Function Documentation

    DoCancel ( )

    IMPORT_C voidDoCancel()[protected, virtual]

    Reimplemented from CActive::DoCancel()

    Cancel any outstading request. It's implementation of the Cancel protocol;
    Since
    0.9

    Returns: void

    RunL ( )

    IMPORT_C voidRunL()[protected, virtual]

    Reimplemented from CActive::RunL()

    Invoked when the outstanding request completes.
    Since
    0.9

    Returns: void

    Start ( )

    IMPORT_C TIntStart()
    Start the notifier. The notification request is automatically renewed until it is cancelled, or the database is closed by all clients (i.e. released by DBMS).
    Since
    0.9

    Returns: Error code.