realtimenetprots/sipfw/SIP/SigCompController/DefaultPlugin/inc/sigcompvalueconverter.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Name          : SigcompValueConverter.h
       
    16 * Part of       : SIPSigComp
       
    17 * Version       : SIP/3.0 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef __SIGCOMPVALUECONVERTER_H__
       
    29 #define __SIGCOMPVALUECONVERTER_H__
       
    30 
       
    31 #include "sigcomp.h"
       
    32 #include <e32std.h>
       
    33 
       
    34 #ifdef CPPUNIT_TEST
       
    35 #undef IMPORT_C
       
    36 #define IMPORT_C
       
    37 #endif
       
    38 
       
    39 class TSigcompValueConverter
       
    40 	{
       
    41 public:
       
    42 
       
    43 	static CSigComp::TMemorySize ConvertDecompressionMemorySize(TUint aSize);
       
    44 	static CSigComp::TMemorySize ConvertStateMemorySize(TUint aSize);
       
    45 	static CSigComp::TCyclesPerBit ConvertCyclesPerBit(TUint aCpb);
       
    46 	};
       
    47 #endif // end of __SIGCOMPVALUECONVERTER_H__
       
    48 
       
    49 // End of File