epoc32/include/mw/obexusbtransportinfo.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 // Copyright (c) 2005-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 __OBEXUSBTRANSPORTINFO_H__
    17 #define __OBEXUSBTRANSPORTINFO_H__
    18 
    19 #include "obextransportinfo.h"
    20 #include <obexconstants.h>
    21 
    22 /**
    23 Concrete transport info type for use when using the usb  transport controller.
    24 @publishedAll
    25 @released
    26 */
    27 NONSHARABLE_CLASS(TObexUsbTransportInfo) : public TObexTransportInfo
    28 	{	
    29 //Data from TObexUsbProtocolInfo class, declared in obex\public\obexconstants.h
    30 public:
    31 		/** Provides a string to be attached to the Obex function's Communication Class interface,
    32 		which may be used to identify the Obex service. */
    33 		TBuf16<KUsbIntStringDescLength> iInterfaceStringDescriptor;
    34 	};
    35 
    36 /**
    37 Concrete transport info type when using the USB transport controller with client driver extensions.
    38 @publishedAll
    39 @released
    40 */
    41 NONSHARABLE_CLASS(TObexUsbV2TransportInfo) : public TObexUsbTransportInfo
    42 	{
    43 		
    44 	//Data from TObexUsbProtocolInfoV2 class, declared in obex\public\obexconstants.h
    45 public:
    46 	/** Bitmap containing the bandwidth priorities to use on IN and OUT endpoints
    47 	@see TUsbcBandwidthPriority
    48 	*/
    49 	TInt iBandwidthPriority;
    50 	/** Specifies whether to use DMA on the bulk OUT endpoint */
    51 	TBool iDmaOnOutEndpoint;
    52 	/** Specifies whether to use DMA on the bulk IN endpoint */
    53 	TBool iDmaOnInEndpoint;
    54 	};
    55 
    56 #endif