Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

uversion.h

00001 /* 00002 ******************************************************************************* 00003 * Copyright (C) 2002, International Business Machines 00004 * Corporation and others. All Rights Reserved. 00005 ******************************************************************************* 00006 * 00007 * file name: uversion.h 00008 * encoding: US-ASCII 00009 * tab size: 8 (not used) 00010 * indentation:4 00011 * 00012 * Created by: Vladimir Weinstein 00013 * 00014 * Contains all the important version numbers for ICU. 00015 * Gets included by utypes.h and Windows .rc files 00016 */ 00017 00018 /*===========================================================================*/ 00019 /* Main ICU version information */ 00020 /*===========================================================================*/ 00021 00022 #ifndef UVERSION_H 00023 #define UVERSION_H 00024 00039 #include "unicode/umachine.h" 00040 00042 #define U_COPYRIGHT_STRING \ 00043 " Copyright (C) 2002, International Business Machines Corporation and others. All Rights Reserved. " 00044 00045 #define U_COPYRIGHT_STRING_LENGTH 128 00046 00048 #define U_ICU_VERSION_MAJOR_NUM 2 00049 00051 #define U_ICU_VERSION_MINOR_NUM 1 00052 00054 #define U_ICU_VERSION_PATCHLEVEL_NUM 0 00055 00057 #define U_ICU_VERSION_SUFFIX _2_1 00058 00061 #define U_ICU_VERSION "2.1" 00062 00064 #define U_ICU_VERSION_SHORT "21" 00065 00067 #define U_MAX_VERSION_LENGTH 4 00068 00070 #define U_VERSION_DELIMITER '.' 00071 00073 #define U_MAX_VERSION_STRING_LENGTH 20 00074 00076 typedef uint8_t UVersionInfo[U_MAX_VERSION_LENGTH]; 00077 00078 #if U_HAVE_NAMESPACE && defined(XP_CPLUSPLUS) 00079 #define U_ICU_NAMESPACE icu_2_1 00080 namespace U_ICU_NAMESPACE { } 00081 namespace icu = U_ICU_NAMESPACE; 00082 U_NAMESPACE_USE 00083 #endif 00084 00085 00086 /*===========================================================================*/ 00087 /* General version helper functions. Definitions in putil.c */ 00088 /*===========================================================================*/ 00089 00100 U_CAPI void U_EXPORT2 00101 u_versionFromString(UVersionInfo versionArray, const char *versionString); 00102 00114 U_CAPI void U_EXPORT2 00115 u_versionToString(UVersionInfo versionArray, char *versionString); 00116 00125 U_CAPI void U_EXPORT2 00126 u_getVersion(UVersionInfo versionArray); 00127 00128 00129 /*===========================================================================*/ 00130 /* ICU collation framework version information */ 00131 /* Version info that can be obtained from a collator is affected by these */ 00132 /* numbers in a secret and magic way. Please use collator version as whole */ 00133 /*===========================================================================*/ 00134 00139 #define UCOL_RUNTIME_VERSION 3 00140 00145 #define UCOL_BUILDER_VERSION 4 00146 00147 /* This is the version of FractionalUCA.txt tailoring rules*/ 00148 /* Version 1 was in ICU 1.8.1. Version two contains canonical closure for */ 00149 /* supplementary code points */ 00150 #define UCOL_FRACTIONAL_UCA_VERSION 3 00151 00153 #define UCOL_TAILORINGS_VERSION 1 00154 00155 #endif

Generated on Wed Jul 28 05:45:13 2004 for ICU 2.1 by doxygen 1.3.7