photosgallery/collectionframework/datasource/manager/inc/mglxdatasourceupdateobserver.h
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: Definition of the Data Source update observer Class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef _MGLXDATASOURCEUPDATEOBSERVER_H_ |
|
22 #define _MGLXDATASOURCEUPDATEOBSERVER_H_ |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32cmn.h> |
|
26 #include "glxmediaid.h" |
|
27 #include <mpxmessage2.h> |
|
28 |
|
29 // FORWARD DECLARATIONS |
|
30 |
|
31 // CONSTANTS |
|
32 |
|
33 // CLASS DECLARATION |
|
34 |
|
35 /** |
|
36 * MGlxDataSourceUpdateObserver class |
|
37 * |
|
38 * Returns update notifications. |
|
39 * @ingroup collection_component_design |
|
40 * @internal reviewed 11/07/2007 by Dave Schofield |
|
41 */ |
|
42 class MGlxDataSourceUpdateObserver |
|
43 { |
|
44 public: |
|
45 /** |
|
46 * Notification that new items have been found in the data source (file |
|
47 * system, etc.) |
|
48 * |
|
49 * @param aItems ids of the items that were been found. |
|
50 */ |
|
51 virtual void HandleMessage(CMPXMessage& aMessage) = 0; |
|
52 |
|
53 }; |
|
54 |
|
55 #endif //_MGLXDATASOURCEUPDATEOBSERVER_H_ |