obex/obexprotocol/obextransport/inc/obexconnectdata.h
changeset 57 f6055a57ae18
parent 0 d0791faffa3f
equal deleted inserted replaced
54:4dc88a4ac6f4 57:f6055a57ae18
       
     1 // Copyright (c) 1997-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 __OBEXCONNECTDATA_H__
       
    17 #define __OBEXCONNECTDATA_H__
       
    18 
       
    19 #include <e32def.h>
       
    20 #include <obex/internal/obexdata.h>
       
    21 
       
    22 /** 
       
    23 @file
       
    24 
       
    25 TObexConnectData contains the non-standard connect information from connect and connect 
       
    26 response packets.
       
    27 */
       
    28 NONSHARABLE_CLASS(TObexConnectData) : public TObexData
       
    29 	{
       
    30 public:
       
    31 	TObexConnectData ();
       
    32 	
       
    33 protected:
       
    34 	// Implementation of TObexData functions
       
    35 	virtual TUint16 DoTotalSize () const;	//< Total size of header
       
    36 	virtual TUint16 ParseIn (TUint8* aSource, const TUint16 aMaxSize);
       
    37 	virtual TUint16 WriteOut (TUint8* aDest, const TUint16 aMaxSize) const;
       
    38 public:
       
    39 	TUint8 iVersion;
       
    40 	TUint8 iFlags;
       
    41 	TUint16 iMaxPacketLength;
       
    42 	};
       
    43 
       
    44 #endif // __OBEXCONNECTDATA_H__