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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Data generator for data transmission, used by URL Handler when transmitting data
18 #if !defined(__MDPTX_H__)
27 class MDataProviderTransmissionData
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
33 virtual const TDesC8& DataL()=0;
35 // Returns the size of the amount of data that needs to be transmitted.
36 virtual TInt DataSize()=0;
38 // This returns the name of the data, this will depend on the type of
40 virtual const TDesC& DataNameL()=0;
42 // This should return the refering url or NULL;
43 virtual const TDesC& RefererUrlL()=0;
45 // This returns the accepted charset.
46 virtual const TDesC& AcceptedCharsetL()=0;
48 // This returns the accepted mimetype
49 virtual const TDesC& AcceptedMimetypes()=0;
52 // Reserved for future expansion
53 IMPORT_C virtual void MDataProviderTransmissionData_Reserved1()=0;