epoc32/include/mdptx.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     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".
     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 	@released
    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__