1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/icu/source/i18n/ucln_in.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,68 @@ 1.4 +/* 1.5 +****************************************************************************** 1.6 +* * 1.7 +* Copyright (C) 2001-2013, International Business Machines * 1.8 +* Corporation and others. All Rights Reserved. * 1.9 +* * 1.10 +****************************************************************************** 1.11 +* file name: ucln_cmn.h 1.12 +* encoding: US-ASCII 1.13 +* tab size: 8 (not used) 1.14 +* indentation:4 1.15 +* 1.16 +* created on: 2001July05 1.17 +* created by: George Rhoten 1.18 +*/ 1.19 + 1.20 +#ifndef __UCLN_IN_H__ 1.21 +#define __UCLN_IN_H__ 1.22 + 1.23 +#include "unicode/utypes.h" 1.24 +#include "ucln.h" 1.25 + 1.26 +/* 1.27 +Please keep the order of enums declared in same order 1.28 +as the functions are suppose to be called. 1.29 +It's usually best to have child dependencies called first. */ 1.30 +typedef enum ECleanupI18NType { 1.31 + UCLN_I18N_START = -1, 1.32 + UCLN_I18N_IDENTIFIER_INFO, 1.33 + UCLN_I18N_SPOOF, 1.34 + UCLN_I18N_TRANSLITERATOR, 1.35 + UCLN_I18N_REGEX, 1.36 + UCLN_I18N_ISLAMIC_CALENDAR, 1.37 + UCLN_I18N_CHINESE_CALENDAR, 1.38 + UCLN_I18N_HEBREW_CALENDAR, 1.39 + UCLN_I18N_ASTRO_CALENDAR, 1.40 + UCLN_I18N_DANGI_CALENDAR, 1.41 + UCLN_I18N_CALENDAR, 1.42 + UCLN_I18N_TIMEZONEFORMAT, 1.43 + UCLN_I18N_TIMEZONEGENERICNAMES, 1.44 + UCLN_I18N_TIMEZONENAMES, 1.45 + UCLN_I18N_ZONEMETA, 1.46 + UCLN_I18N_TIMEZONE, 1.47 + UCLN_I18N_PLURAL_RULE, 1.48 + UCLN_I18N_CURRENCY, 1.49 + UCLN_I18N_DECFMT, 1.50 + UCLN_I18N_NUMFMT, 1.51 + UCLN_I18N_SMPDTFMT, 1.52 + UCLN_I18N_USEARCH, 1.53 + UCLN_I18N_COLLATOR, 1.54 + UCLN_I18N_UCOL, 1.55 + UCLN_I18N_UCOL_RES, 1.56 + UCLN_I18N_UCOL_BLD, 1.57 + UCLN_I18N_CSDET, 1.58 + UCLN_I18N_GENDERINFO, 1.59 + UCLN_I18N_CDFINFO, 1.60 + UCLN_I18N_REGION, 1.61 + UCLN_I18N_COUNT /* This must be last */ 1.62 +} ECleanupI18NType; 1.63 + 1.64 +/* Main library cleanup registration function. */ 1.65 +/* See common/ucln.h for details on adding a cleanup function. */ 1.66 +U_CFUNC void U_EXPORT2 ucln_i18n_registerCleanup(ECleanupI18NType type, 1.67 + cleanupFunc *func); 1.68 + 1.69 +U_CFUNC UBool utrans_transliterator_cleanup(void); 1.70 + 1.71 +#endif