2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Declaration of FavouritesDbNotifier
19 #ifndef FAVOURITES_DB_NOTIFIER_H
20 #define FAVOURITES_DB_NOTIFIER_H
24 #include <FavouritesHandle.h>
26 // FORWARD DECLARATIONS
33 * RFavouritesDbNotifier is the Favourites database change notifier
34 * for the Favourites Engine. It provides notification of database changes.
36 class RFavouritesDbNotifier: public RFavouritesHandle
43 * @param aDb The database to be watched.
46 IMPORT_C TInt Open( RFavouritesDb& aDb );
49 * Request notification about all database events.
51 * @param aStatus Request status.
54 IMPORT_C void NotifyAllEvents( TRequestStatus& aStatus );
57 * Request notification about database changes.
59 * @param aStatus Request status.
62 IMPORT_C void NotifyChange( TRequestStatus& aStatus );
65 * Cancel the outstanding request (if any).
69 IMPORT_C void Cancel();