photosgallery/collectionframework/datasource/manager/inc/mglxdatasourcerequestobserver.h
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009-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 Task Request Observer Class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef _MGLXDATASOURCEREQUESTOBSERVER_H_ |
|
22 #define _MGLXDATASOURCEREQUESTOBSERVER_H_ |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32cmn.h> |
|
26 #include "glxmediaid.h" |
|
27 #include "glxrequest.h" |
|
28 |
|
29 // FORWARD DECLARATIONS |
|
30 class TGlxThumbnailRequest; |
|
31 class CMPXMedia; |
|
32 |
|
33 // CONSTANTS |
|
34 |
|
35 // CLASS DECLARATION |
|
36 |
|
37 |
|
38 /** |
|
39 * MGlxDataSourceRequestObserver class |
|
40 * |
|
41 * Returns the result of a Request. |
|
42 * @ingroup collection_component_design |
|
43 * @internal reviewed 11/07/2007 by Dave Schofield |
|
44 */ |
|
45 class MGlxDataSourceRequestObserver |
|
46 { |
|
47 public: |
|
48 /** |
|
49 * Asynchronous call to retrieve |
|
50 * |
|
51 * @param aListId list for this query relates to |
|
52 * @return error code |
|
53 */ |
|
54 virtual void HandleResponse(CMPXMedia* aResponse, CGlxRequest* aRequest, const TInt& aError) = 0; |
|
55 }; |
|
56 |
|
57 #endif //_MGLXDATASOURCEREQUESTOBSERVER_H_ |