equal
deleted
inserted
replaced
|
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef __MHTTPREQUEST_H__ |
|
17 #define __MHTTPREQUEST_H__ |
|
18 |
|
19 #include <e32std.h> |
|
20 |
|
21 class MHttpDataOptimiser; |
|
22 class MHttpRequest |
|
23 { |
|
24 public: |
|
25 |
|
26 virtual void StartRequest() =0; |
|
27 |
|
28 virtual void CancelRequest() =0; |
|
29 |
|
30 virtual void RequestDataSent() =0; |
|
31 |
|
32 virtual void OnRequestSendTimeOut() =0; |
|
33 |
|
34 virtual TInt SendTimeOutValue() =0; |
|
35 |
|
36 virtual TBool CheckRequestPendingComplete() =0; |
|
37 |
|
38 virtual TBool NeedDisconnectNotification() =0; |
|
39 |
|
40 virtual MHttpDataOptimiser* HttpDataOptimiser(TBool& aBatchingEnabled) =0; |
|
41 }; |
|
42 |
|
43 #endif // __MHTTPREQUEST_H__ |