Wed, 31 Dec 2014 07:22:50 +0100
Correct previous dual key logic pending first delivery installment.
michael@0 | 1 | /* |
michael@0 | 2 | ********************************************************************** |
michael@0 | 3 | * Copyright (C) 1999-2010, International Business Machines |
michael@0 | 4 | * Corporation and others. All Rights Reserved. |
michael@0 | 5 | ********************************************************************** |
michael@0 | 6 | * file name: ustr_cnv.h |
michael@0 | 7 | * encoding: US-ASCII |
michael@0 | 8 | * tab size: 8 (not used) |
michael@0 | 9 | * indentation:4 |
michael@0 | 10 | * |
michael@0 | 11 | * created on: 2004Aug27 |
michael@0 | 12 | * created by: George Rhoten |
michael@0 | 13 | */ |
michael@0 | 14 | |
michael@0 | 15 | #ifndef USTR_CNV_IMP_H |
michael@0 | 16 | #define USTR_CNV_IMP_H |
michael@0 | 17 | |
michael@0 | 18 | #include "unicode/utypes.h" |
michael@0 | 19 | #include "unicode/ucnv.h" |
michael@0 | 20 | |
michael@0 | 21 | #if !UCONFIG_NO_CONVERSION |
michael@0 | 22 | |
michael@0 | 23 | /** |
michael@0 | 24 | * Get the default converter. This is a commonly used converter |
michael@0 | 25 | * that is used for the ustring and UnicodeString API. |
michael@0 | 26 | * Remember to use the u_releaseDefaultConverter when you are done. |
michael@0 | 27 | * @internal |
michael@0 | 28 | */ |
michael@0 | 29 | U_CAPI UConverter* U_EXPORT2 |
michael@0 | 30 | u_getDefaultConverter(UErrorCode *status); |
michael@0 | 31 | |
michael@0 | 32 | |
michael@0 | 33 | /** |
michael@0 | 34 | * Release the default converter to the converter cache. |
michael@0 | 35 | * @internal |
michael@0 | 36 | */ |
michael@0 | 37 | U_CAPI void U_EXPORT2 |
michael@0 | 38 | u_releaseDefaultConverter(UConverter *converter); |
michael@0 | 39 | |
michael@0 | 40 | /** |
michael@0 | 41 | * Flush the default converter, if cached. |
michael@0 | 42 | * @internal |
michael@0 | 43 | */ |
michael@0 | 44 | U_CAPI void U_EXPORT2 |
michael@0 | 45 | u_flushDefaultConverter(void); |
michael@0 | 46 | |
michael@0 | 47 | #endif |
michael@0 | 48 | |
michael@0 | 49 | #endif |