]>
Commit | Line | Data |
---|---|---|
b75a7d8f A |
1 | /* |
2 | ****************************************************************************** | |
3 | * * | |
51004dcb | 4 | * Copyright (C) 2001-2013, International Business Machines * |
b75a7d8f A |
5 | * Corporation and others. All Rights Reserved. * |
6 | * * | |
7 | ****************************************************************************** | |
8 | * file name: ucln_cmn.h | |
9 | * encoding: US-ASCII | |
10 | * tab size: 8 (not used) | |
11 | * indentation:4 | |
12 | * | |
13 | * created on: 2001July05 | |
14 | * created by: George Rhoten | |
15 | */ | |
16 | ||
17 | #ifndef __UCLN_CMN_H__ | |
18 | #define __UCLN_CMN_H__ | |
19 | ||
20 | #include "unicode/utypes.h" | |
374ca955 | 21 | #include "ucln.h" |
b75a7d8f | 22 | |
374ca955 A |
23 | /* |
24 | Please keep the order of enums declared in same order | |
46f4442e A |
25 | as the functions are suppose to be called. |
26 | It's usually best to have child dependencies called first. */ | |
374ca955 A |
27 | typedef enum ECleanupI18NType { |
28 | UCLN_I18N_START = -1, | |
51004dcb A |
29 | UCLN_I18N_IDENTIFIER_INFO, |
30 | UCLN_I18N_SPOOF, | |
374ca955 A |
31 | UCLN_I18N_TRANSLITERATOR, |
32 | UCLN_I18N_REGEX, | |
33 | UCLN_I18N_ISLAMIC_CALENDAR, | |
46f4442e | 34 | UCLN_I18N_CHINESE_CALENDAR, |
374ca955 A |
35 | UCLN_I18N_HEBREW_CALENDAR, |
36 | UCLN_I18N_ASTRO_CALENDAR, | |
51004dcb | 37 | UCLN_I18N_DANGI_CALENDAR, |
374ca955 | 38 | UCLN_I18N_CALENDAR, |
51004dcb | 39 | UCLN_I18N_TIMEZONEFORMAT, |
4388f060 A |
40 | UCLN_I18N_TIMEZONEGENERICNAMES, |
41 | UCLN_I18N_TIMEZONENAMES, | |
46f4442e | 42 | UCLN_I18N_ZONEMETA, |
374ca955 | 43 | UCLN_I18N_TIMEZONE, |
46f4442e A |
44 | UCLN_I18N_PLURAL_RULE, |
45 | UCLN_I18N_CURRENCY, | |
729e4ab9 | 46 | UCLN_I18N_DECFMT, |
46f4442e A |
47 | UCLN_I18N_NUMFMT, |
48 | UCLN_I18N_SMPDTFMT, | |
374ca955 A |
49 | UCLN_I18N_USEARCH, |
50 | UCLN_I18N_COLLATOR, | |
51 | UCLN_I18N_UCOL, | |
46f4442e | 52 | UCLN_I18N_UCOL_RES, |
374ca955 | 53 | UCLN_I18N_UCOL_BLD, |
73c04bcf | 54 | UCLN_I18N_CSDET, |
51004dcb A |
55 | UCLN_I18N_GENDERINFO, |
56 | UCLN_I18N_CDFINFO, | |
57 | UCLN_I18N_REGION, | |
374ca955 A |
58 | UCLN_I18N_COUNT /* This must be last */ |
59 | } ECleanupI18NType; | |
60 | ||
61 | /* Main library cleanup registration function. */ | |
b75a7d8f | 62 | /* See common/ucln.h for details on adding a cleanup function. */ |
374ca955 A |
63 | U_CFUNC void U_EXPORT2 ucln_i18n_registerCleanup(ECleanupI18NType type, |
64 | cleanupFunc *func); | |
b75a7d8f | 65 | |
729e4ab9 | 66 | U_CFUNC UBool utrans_transliterator_cleanup(void); |
b75a7d8f | 67 | |
b75a7d8f | 68 | #endif |