williamr@2: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@2: // 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 williamr@2: // which accompanies this distribution, and is available williamr@2: // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // williamr@2: williamr@2: #ifndef __OBEXUSBTRANSPORTINFO_H__ williamr@2: #define __OBEXUSBTRANSPORTINFO_H__ williamr@2: williamr@2: #include "obextransportinfo.h" williamr@2: #include williamr@2: williamr@2: /** williamr@2: Concrete transport info type for use when using the usb transport controller. williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: NONSHARABLE_CLASS(TObexUsbTransportInfo) : public TObexTransportInfo williamr@2: { williamr@2: //Data from TObexUsbProtocolInfo class, declared in obex\public\obexconstants.h williamr@2: public: williamr@2: /** Provides a string to be attached to the Obex function's Communication Class interface, williamr@2: which may be used to identify the Obex service. */ williamr@2: TBuf16 iInterfaceStringDescriptor; williamr@2: }; williamr@2: williamr@2: /** williamr@2: Concrete transport info type when using the USB transport controller with client driver extensions. williamr@2: @publishedAll williamr@2: @released williamr@2: */ williamr@2: NONSHARABLE_CLASS(TObexUsbV2TransportInfo) : public TObexUsbTransportInfo williamr@2: { williamr@2: williamr@2: //Data from TObexUsbProtocolInfoV2 class, declared in obex\public\obexconstants.h williamr@2: public: williamr@2: /** Bitmap containing the bandwidth priorities to use on IN and OUT endpoints williamr@2: @see TUsbcBandwidthPriority williamr@2: */ williamr@2: TInt iBandwidthPriority; williamr@2: /** Specifies whether to use DMA on the bulk OUT endpoint */ williamr@2: TBool iDmaOnOutEndpoint; williamr@2: /** Specifies whether to use DMA on the bulk IN endpoint */ williamr@2: TBool iDmaOnInEndpoint; williamr@2: }; williamr@2: williamr@2: #endif