|
1 /* |
|
2 * Copyright (c) 2006-2007 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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef IRDATAPROVIDEROBSERVER_H |
|
20 #define IRDATAPROVIDEROBSERVER_H |
|
21 |
|
22 #include <e32cmn.h> |
|
23 |
|
24 class CIRHttpResponseData; |
|
25 |
|
26 /** |
|
27 * MIRDataProviderObserver |
|
28 * passes events and responses body data with this interface. |
|
29 * An instance of this class must be provided for construction of |
|
30 * CIRDataProvider. |
|
31 */ |
|
32 |
|
33 class MIRDataProviderObserver |
|
34 { |
|
35 public: |
|
36 |
|
37 /** |
|
38 * void MIRDataProviderObserver::IRHttpGeneralError(TInt aErrCode) |
|
39 * Used to determine the Private path of IRAPP |
|
40 * |
|
41 */ |
|
42 virtual void IRHttpGeneralError( TInt aErrCode ) = 0; |
|
43 |
|
44 /** |
|
45 * void MIRDataProviderObserver::IRHttpDataReceived(TDesC& aXmlPath) |
|
46 * Used to determine the Private path of IRAPP |
|
47 */ |
|
48 virtual void IRHttpDataReceived( const TDesC &aXmlPath, |
|
49 const CIRHttpResponseData& aResponseHeaders ) = 0; |
|
50 /** |
|
51 * void MIRDataProviderObserver::IRHttpContentNotChanged() |
|
52 * Used to determine the Private path of IRAPP |
|
53 */ |
|
54 virtual void IRHttpResponseCodeReceived( TInt aResponseCode, |
|
55 CIRHttpResponseData& aResponseHeaders ) = 0; |
|
56 }; |
|
57 |
|
58 #endif // IRDATAPROVIDEROBSERVER_H |
|
59 |
|
60 |