webengine/wmlengine/src/script/include/scr_conv.h
changeset 74 91031d3aab7d
parent 68 92a765b5b3e7
child 85 e358f2276d3f
equal deleted inserted replaced
68:92a765b5b3e7 74:91031d3aab7d
     1 /*
       
     2 * Copyright (c) 1999 - 2001 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 the License "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 *
       
    16 */
       
    17 
       
    18 
       
    19  /*
       
    20     $Workfile: scr_conv.h $
       
    21 
       
    22     Purpose:
       
    23  */
       
    24 
       
    25 #ifndef SCR_CONV_H
       
    26 #define SCR_CONV_H
       
    27 
       
    28 #include "scr_val.h"
       
    29 
       
    30 NW_Ucs2 *str2ucs2(str_t str);
       
    31 str_t ucs22str(NW_Ucs2 *str);
       
    32 str_t ucs2ch2str(NW_Ucs2 ch);
       
    33 char *str2ascii(str_t s);
       
    34 NW_Bool str2int(str_t s, NW_Int32  *res, NW_Bool *consumeAll);
       
    35 NW_Bool str2float(str_t s, NW_Float32 *res, NW_Bool *consumeAll);
       
    36 str_t int2str(NW_Int32  i);
       
    37 str_t float2str(NW_Float32 f);
       
    38 str_t bool2str(NW_Bool b);
       
    39 
       
    40 str_t scr_format(NW_Ucs2 *format, val_t v, NW_Bool *retval);
       
    41 #endif  
       
    42