1 /* 2 ********************************************************************** 3 * Copyright (C) 1999-2010, 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 /** 41 * Flush the default converter, if cached. 42 * @internal 43 */ 44 U_CAPI void U_EXPORT2 45 u_flushDefaultConverter(void); 46 47 #endif 48 49 #endif 50