epoc32/include/mw/obextransportinfo.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/mw/obextransportinfo.h	Wed Mar 31 12:27:01 2010 +0100
     1.3 @@ -0,0 +1,82 @@
     1.4 +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// 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
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +//
    1.18 +
    1.19 +#ifndef __OBEXTRANSPORTINFO_H__
    1.20 +#define __OBEXTRANSPORTINFO_H__
    1.21 +
    1.22 +#include <e32std.h>
    1.23 +
    1.24 +/**
    1.25 +This class is a combination of the TObexProtocolInfo and TObexProtocolPolicy 
    1.26 +classes.
    1.27 +This class is designed for licensee derivation, to support novel transport 
    1.28 +controllers. Existing superclasses include @c TObexUsbTransportInfo, @c 
    1.29 +TObexUsbV2TransportInfo, @c TObexBtTransportInfo and @c TObexIrTransportInfo. 
    1.30 +It is also designed for 3rd party instantiation, for use when creation a 
    1.31 +CObexServer or a CObexClient.
    1.32 +
    1.33 +Note that, being a T-type, this type and all derived types must hold data by 
    1.34 +value, to support bitwise copying.
    1.35 +
    1.36 +@publishedAll
    1.37 +@released
    1.38 +*/
    1.39 +class TObexTransportInfo
    1.40 +	{
    1.41 +public:
    1.42 +	/**
    1.43 +	The type of the transport over which obex will run.
    1.44 +	The size of the buffer is chosen for historical reasons. This is the size 
    1.45 +	originally used by TObexProtocolInfo.
    1.46 +	@publishedAll
    1.47 +	@released
    1.48 +	*/
    1.49 +	TBuf<60> iTransportName; 
    1.50 +	
    1.51 +	/**
    1.52 +	The version of the protocol policy format that this class supports
    1.53 +	@publishedAll
    1.54 +	@released
    1.55 +	*/
    1.56 +	TUint16 iVersion;
    1.57 +	
    1.58 +	/**
    1.59 +	The maximum size of the receive packet buffer for the policy
    1.60 +	@publishedAll
    1.61 +	@released
    1.62 +	*/
    1.63 +	TUint16 iReceiveMtu;
    1.64 +	
    1.65 +	/**
    1.66 +	The maximum size of the transmit packet buffer for the policy
    1.67 +	@publishedAll
    1.68 +	@released
    1.69 +	*/
    1.70 +	TUint16 iTransmitMtu;
    1.71 +	
    1.72 +	/**	*/
    1.73 +	TUint16 iFuture1;
    1.74 +	
    1.75 +	/**	*/
    1.76 +	TUint32 iFuture2;
    1.77 +	
    1.78 +	/**	*/
    1.79 +	TInt iFuture3;
    1.80 +	
    1.81 +	/**	*/
    1.82 +	TInt iFuture4;
    1.83 +	};
    1.84 +
    1.85 +#endif // __OBEXTRANSPORTINFO_H__