os/textandloc/fontservices/textshaperplugin/IcuSource/common/ustr_cnv.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*  
     2 **********************************************************************
     3 *   Copyright (C) 1999-2004, International Business Machines
     4 *   Corporation and others.  All Rights Reserved.
     5 **********************************************************************
     6 *   file name:  ustr_cnv.h
     7 *   encoding:   US-ASCII
     8 *   tab size:   8 (not used)
     9 *   indentation:4
    10 *
    11 *   created on: 2004Aug27
    12 *   created by: George Rhoten
    13 */
    14 
    15 #ifndef USTR_CNV_IMP_H
    16 #define USTR_CNV_IMP_H
    17 
    18 #include "unicode/utypes.h"
    19 #include "unicode/ucnv.h"
    20 
    21 #if !UCONFIG_NO_CONVERSION
    22 
    23 /**
    24  * Get the default converter. This is a commonly used converter
    25  * that is used for the ustring and UnicodeString API.
    26  * Remember to use the u_releaseDefaultConverter when you are done.
    27  * @internal
    28  */
    29 U_CAPI UConverter* U_EXPORT2
    30 u_getDefaultConverter(UErrorCode *status);
    31 
    32 
    33 /**
    34  * Release the default converter to the converter cache.
    35  * @internal
    36  */
    37 U_CAPI void U_EXPORT2
    38 u_releaseDefaultConverter(UConverter *converter);
    39 
    40 #endif
    41 
    42 #endif