equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Observer of list of media items |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __M_GLXITEMLISTOBSERVER_H__ |
|
22 #define __M_GLXITEMLISTOBSERVER_H__ |
|
23 |
|
24 #include <e32std.h> |
|
25 |
|
26 /** |
|
27 * Observer for item list |
|
28 * |
|
29 * @author Aki Vanhatalo |
|
30 * |
|
31 * @internal reviewed 17/07/2007 by Kimmo Hoikka |
|
32 * |
|
33 * @ingroup mlm_media_list_manager_design |
|
34 */ |
|
35 class MGlxItemListObserver |
|
36 { |
|
37 public: |
|
38 /** |
|
39 * Notification of item addition |
|
40 * @param aAddedAtIndex Index at which items were added |
|
41 * @param aCount count of items that were added |
|
42 */ |
|
43 virtual void HandleItemsAdded( TInt aAddedAtIndex, TInt aCount ) = 0; |
|
44 |
|
45 /** |
|
46 * Notification of item removal |
|
47 * @param aRemovedFromIndex Index at which items were added |
|
48 * @param aCount count of items that were added |
|
49 */ |
|
50 virtual void HandleItemsRemoved( TInt aRemovedFromIndex, TInt aCount ) = 0; |
|
51 }; |
|
52 |
|
53 #endif // __M_GLXITEMLISTOBSERVER_H__ |