sl@0: /* sl@0: ********************************************************************** sl@0: * Copyright (C) 1999-2004, International Business Machines sl@0: * Corporation and others. All Rights Reserved. sl@0: ********************************************************************** sl@0: * file name: ustr_cnv.h sl@0: * encoding: US-ASCII sl@0: * tab size: 8 (not used) sl@0: * indentation:4 sl@0: * sl@0: * created on: 2004Aug27 sl@0: * created by: George Rhoten sl@0: */ sl@0: sl@0: #ifndef USTR_CNV_IMP_H sl@0: #define USTR_CNV_IMP_H sl@0: sl@0: #include "unicode/utypes.h" sl@0: #include "unicode/ucnv.h" sl@0: sl@0: #if !UCONFIG_NO_CONVERSION sl@0: sl@0: /** sl@0: * Get the default converter. This is a commonly used converter sl@0: * that is used for the ustring and UnicodeString API. sl@0: * Remember to use the u_releaseDefaultConverter when you are done. sl@0: * @internal sl@0: */ sl@0: U_CAPI UConverter* U_EXPORT2 sl@0: u_getDefaultConverter(UErrorCode *status); sl@0: sl@0: sl@0: /** sl@0: * Release the default converter to the converter cache. sl@0: * @internal sl@0: */ sl@0: U_CAPI void U_EXPORT2 sl@0: u_releaseDefaultConverter(UConverter *converter); sl@0: sl@0: #endif sl@0: sl@0: #endif