2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "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.
19 #ifndef MCLFCHANGEDITEMOBSERVER_H
20 #define MCLFCHANGEDITEMOBSERVER_H
23 #include <CLFContentListing.h>
26 // FORWARD DECLARATIONS
27 class MCLFChangedItemObserverExt;
32 * Changed Item Observer interface.
33 * Implement this interface to get notifications of changed,
34 * new or deleted items.
36 * @lib ContentListingFramework.lib
39 class MCLFChangedItemObserver
41 public: // New functions
44 * Abstract method for handling item change event. This method is
45 * called when, for example, some item is renamed.
47 * @param aItemIDArray List of Item IDs of changed items.
49 virtual void HandleItemChangeL(
50 const TArray<TCLFItemId>& aItemIDArray ) = 0;
53 * Abstract method for handling errors. This method can be used to
54 * handle errors in changed item event.
56 * @param aError System wide error code.
58 virtual void HandleError( TInt aError ) = 0;
65 virtual ~MCLFChangedItemObserver() {}
67 private: // Extension interface
70 * This member is internal and not intended for use.
72 virtual MCLFChangedItemObserverExt* Extension() { return NULL; }
76 #endif // MCLFCHANGEDITEMOBSERVER_H