obex/obexprotocol/obex/public/ObexUsbTransportInfo.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     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