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