diff -r 000000000000 -r d0791faffa3f obex/obexprotocol/obex/public/ObexUsbTransportInfo.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/obex/obexprotocol/obex/public/ObexUsbTransportInfo.h Tue Feb 02 01:11:40 2010 +0200 @@ -0,0 +1,56 @@ +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#ifndef __OBEXUSBTRANSPORTINFO_H__ +#define __OBEXUSBTRANSPORTINFO_H__ + +#include "obextransportinfo.h" +#include + +/** +Concrete transport info type for use when using the usb transport controller. +@publishedAll +@released +*/ +NONSHARABLE_CLASS(TObexUsbTransportInfo) : public TObexTransportInfo + { +//Data from TObexUsbProtocolInfo class, declared in obex\public\obexconstants.h +public: + /** Provides a string to be attached to the Obex function's Communication Class interface, + which may be used to identify the Obex service. */ + TBuf16 iInterfaceStringDescriptor; + }; + +/** +Concrete transport info type when using the USB transport controller with client driver extensions. +@publishedAll +@released +*/ +NONSHARABLE_CLASS(TObexUsbV2TransportInfo) : public TObexUsbTransportInfo + { + + //Data from TObexUsbProtocolInfoV2 class, declared in obex\public\obexconstants.h +public: + /** Bitmap containing the bandwidth priorities to use on IN and OUT endpoints + @see TUsbcBandwidthPriority + */ + TInt iBandwidthPriority; + /** Specifies whether to use DMA on the bulk OUT endpoint */ + TBool iDmaOnOutEndpoint; + /** Specifies whether to use DMA on the bulk IN endpoint */ + TBool iDmaOnInEndpoint; + }; + +#endif