]> git.saurik.com Git - apple/icu.git/blame - icuSources/common/ustr_cnv.h
ICU-551.51.4.tar.gz
[apple/icu.git] / icuSources / common / ustr_cnv.h
CommitLineData
374ca955
A
1/*
2**********************************************************************
729e4ab9 3* Copyright (C) 1999-2010, International Business Machines
374ca955
A
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 */
29U_CAPI UConverter* U_EXPORT2
30u_getDefaultConverter(UErrorCode *status);
31
32
33/**
34 * Release the default converter to the converter cache.
35 * @internal
36 */
37U_CAPI void U_EXPORT2
38u_releaseDefaultConverter(UConverter *converter);
39
729e4ab9
A
40/**
41 * Flush the default converter, if cached.
42 * @internal
43 */
44U_CAPI void U_EXPORT2
45u_flushDefaultConverter(void);
46
374ca955
A
47#endif
48
49#endif