|
1 // Copyright (c) 1997-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 // Data generator for data transmission, used by URL Handler when transmitting data |
|
15 // |
|
16 // |
|
17 |
|
18 #if !defined(__MDPTX_H__) |
|
19 #define __MDPTX_H__ |
|
20 |
|
21 #include <e32base.h> |
|
22 |
|
23 /** |
|
24 @publishedAll |
|
25 @deprecated |
|
26 */ |
|
27 class MDataProviderTransmissionData |
|
28 { |
|
29 public: |
|
30 // This should return the data that the url handler should transmit. |
|
31 // This call will be repeated until datasize amounts of data has been |
|
32 // transmitted |
|
33 virtual const TDesC8& DataL()=0; |
|
34 |
|
35 // Returns the size of the amount of data that needs to be transmitted. |
|
36 virtual TInt DataSize()=0; |
|
37 |
|
38 // This returns the name of the data, this will depend on the type of |
|
39 // data transmission, |
|
40 virtual const TDesC& DataNameL()=0; |
|
41 |
|
42 // This should return the refering url or NULL; |
|
43 virtual const TDesC& RefererUrlL()=0; |
|
44 |
|
45 // This returns the accepted charset. |
|
46 virtual const TDesC& AcceptedCharsetL()=0; |
|
47 |
|
48 // This returns the accepted mimetype |
|
49 virtual const TDesC& AcceptedMimetypes()=0; |
|
50 |
|
51 private: |
|
52 // Reserved for future expansion |
|
53 IMPORT_C virtual void MDataProviderTransmissionData_Reserved1()=0; |
|
54 }; |
|
55 |
|
56 #endif // __MDPTX_H__ |