blob: 152674c9933c8d6d78cc7fa8514ce6e45cdbb5d5 [file] [log] [blame]
Jean-Baptiste Querub13da9d2009-07-17 17:53:22 -07001/*
2******************************************************************************
3* *
Craig Cornelius103e9ff2012-10-09 17:03:29 -07004* Copyright (C) 2001-2012, International Business Machines *
Jean-Baptiste Querub13da9d2009-07-17 17:53:22 -07005* 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"
21#include "ucln.h"
22
23/*
24Please keep the order of enums declared in same order
Claire Ho85bf2e22009-11-24 14:23:02 -080025as the functions are suppose to be called.
26It's usually best to have child dependencies called first. */
Jean-Baptiste Querub13da9d2009-07-17 17:53:22 -070027typedef enum ECleanupI18NType {
28 UCLN_I18N_START = -1,
29 UCLN_I18N_TRANSLITERATOR,
30 UCLN_I18N_REGEX,
31 UCLN_I18N_ISLAMIC_CALENDAR,
Claire Ho85bf2e22009-11-24 14:23:02 -080032 UCLN_I18N_CHINESE_CALENDAR,
Jean-Baptiste Querub13da9d2009-07-17 17:53:22 -070033 UCLN_I18N_HEBREW_CALENDAR,
34 UCLN_I18N_ASTRO_CALENDAR,
35 UCLN_I18N_CALENDAR,
Craig Cornelius103e9ff2012-10-09 17:03:29 -070036 UCLN_I18N_TIMEZONEGENERICNAMES,
clairehob26ce3a2012-01-10 17:54:41 -080037 UCLN_I18N_TIMEZONENAMES,
Claire Ho85bf2e22009-11-24 14:23:02 -080038 UCLN_I18N_ZONEMETA,
Jean-Baptiste Querub13da9d2009-07-17 17:53:22 -070039 UCLN_I18N_TIMEZONE,
Claire Ho85bf2e22009-11-24 14:23:02 -080040 UCLN_I18N_PLURAL_RULE,
41 UCLN_I18N_CURRENCY,
clairehob26ce3a2012-01-10 17:54:41 -080042 UCLN_I18N_DECFMT,
Claire Ho85bf2e22009-11-24 14:23:02 -080043 UCLN_I18N_NUMFMT,
clairehob26ce3a2012-01-10 17:54:41 -080044 UCLN_I18N_SMPDTFMT,
Jean-Baptiste Querub13da9d2009-07-17 17:53:22 -070045 UCLN_I18N_USEARCH,
46 UCLN_I18N_COLLATOR,
47 UCLN_I18N_UCOL,
Claire Ho85bf2e22009-11-24 14:23:02 -080048 UCLN_I18N_UCOL_RES,
Jean-Baptiste Querub13da9d2009-07-17 17:53:22 -070049 UCLN_I18N_UCOL_BLD,
50 UCLN_I18N_CSDET,
Claire Ho85bf2e22009-11-24 14:23:02 -080051 UCLN_I18N_COLL_DATA,
clairehob26ce3a2012-01-10 17:54:41 -080052 UCLN_I18N_INDEX_CHARACTERS,
Jean-Baptiste Querub13da9d2009-07-17 17:53:22 -070053 UCLN_I18N_COUNT /* This must be last */
54} ECleanupI18NType;
55
56/* Main library cleanup registration function. */
57/* See common/ucln.h for details on adding a cleanup function. */
58U_CFUNC void U_EXPORT2 ucln_i18n_registerCleanup(ECleanupI18NType type,
59 cleanupFunc *func);
60
Claire Ho85bf2e22009-11-24 14:23:02 -080061U_CFUNC UBool utrans_transliterator_cleanup(void);
Jean-Baptiste Querub13da9d2009-07-17 17:53:22 -070062
63#endif