--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/obex/obexprotocol/obex/public/ObexTransportInfo.h Tue Feb 02 01:11:40 2010 +0200
@@ -0,0 +1,82 @@
+// 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 __OBEXTRANSPORTINFO_H__
+#define __OBEXTRANSPORTINFO_H__
+
+#include <e32std.h>
+
+/**
+This class is a combination of the TObexProtocolInfo and TObexProtocolPolicy
+classes.
+This class is designed for licensee derivation, to support novel transport
+controllers. Existing superclasses include @c TObexUsbTransportInfo, @c
+TObexUsbV2TransportInfo, @c TObexBtTransportInfo and @c TObexIrTransportInfo.
+It is also designed for 3rd party instantiation, for use when creation a
+CObexServer or a CObexClient.
+
+Note that, being a T-type, this type and all derived types must hold data by
+value, to support bitwise copying.
+
+@publishedAll
+@released
+*/
+class TObexTransportInfo
+ {
+public:
+ /**
+ The type of the transport over which obex will run.
+ The size of the buffer is chosen for historical reasons. This is the size
+ originally used by TObexProtocolInfo.
+ @publishedAll
+ @released
+ */
+ TBuf<60> iTransportName;
+
+ /**
+ The version of the protocol policy format that this class supports
+ @publishedAll
+ @released
+ */
+ TUint16 iVersion;
+
+ /**
+ The maximum size of the receive packet buffer for the policy
+ @publishedAll
+ @released
+ */
+ TUint16 iReceiveMtu;
+
+ /**
+ The maximum size of the transmit packet buffer for the policy
+ @publishedAll
+ @released
+ */
+ TUint16 iTransmitMtu;
+
+ /** */
+ TUint16 iFuture1;
+
+ /** */
+ TUint32 iFuture2;
+
+ /** */
+ TInt iFuture3;
+
+ /** */
+ TInt iFuture4;
+ };
+
+#endif // __OBEXTRANSPORTINFO_H__