obex/obexprotocol/obex/inc/obexheaderutil.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2004-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 /**
       
    17  @file
       
    18  @internalComponent
       
    19 */
       
    20 
       
    21 #ifndef __OBEXHEADERUTIL_H__
       
    22 #define __OBEXHEADERUTIL_H__
       
    23 
       
    24 class TObexInternalHeader;
       
    25 class CObexHeaderSet;
       
    26 class CObexHeader;
       
    27 
       
    28 NONSHARABLE_CLASS(IrOBEXHeaderUtil)
       
    29 	{
       
    30 public:
       
    31 	static TInt ParseHeader(TObexInternalHeader& aHeader, CObexHeaderSet& aHeaderSet);
       
    32 	static CObexHeader* CreateAndSetUnicodeHeader(const TUint8 aHI, const TDesC16& aUnicode);
       
    33 	static CObexHeader* CreateAndSetByteSeqHeader(const TUint8 aHI, const TDesC8& aByteSeq);
       
    34 	static CObexHeader* CreateAndSetUnicodeHeaderL(const TUint8 aHI, const TDesC16& aUnicode);
       
    35 	static CObexHeader* CreateAndSetByteSeqHeaderL(const TUint8 aHI, const TDesC8& aByteSeq);
       
    36 	}; 
       
    37 
       
    38 #endif // __OBEXHEADERUTIL_H__