1.1 --- a/epoc32/include/mw/favouritesdbobserver.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/mw/favouritesdbobserver.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,54 @@
1.4 -favouritesdbobserver.h
1.5 +/*
1.6 +* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* under the terms of the License "Eclipse Public License v1.0"
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description: Declaration of FavouritesDbObserver
1.19 +*
1.20 +*/
1.21 +
1.22 +
1.23 +#ifndef FAVOURITES_DB_OBSERVER_H
1.24 +#define FAVOURITES_DB_OBSERVER_H
1.25 +
1.26 +// INCLUDES
1.27 +
1.28 +#include <e32base.h>
1.29 +#include <d32dbms.h>
1.30 +
1.31 +// CLASS DECLARATION
1.32 +
1.33 +/**
1.34 +* MFavouritesDbObserver is a Mixin for handling events from an CFavouritesDb. Users of
1.35 +* CActiveFavouritesDbNotifier must derive from this.
1.36 +*/
1.37 +class MFavouritesDbObserver
1.38 + {
1.39 +
1.40 + public: // new methods
1.41 +
1.42 + /**
1.43 + * Derived classes should implement this method, and act accordingly
1.44 + * to database events.
1.45 + * (Note that when a using a CActiveFavouritesDbNotifier, after a
1.46 + * RDbNotifier::EClose event the notifier is Cancel()-led.)
1.47 + * @since 0.9
1.48 + * @param aEvent Database event.
1.49 + * @return void
1.50 + */
1.51 + IMPORT_C virtual void HandleFavouritesDbEventL
1.52 + ( RDbNotifier::TEvent aEvent ) = 0;
1.53 +
1.54 + };
1.55 +
1.56 +#endif
1.57 +
1.58 +// End of File