Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

uversion.h

00001 /*
00002 *******************************************************************************
00003 *   Copyright (C) 2001, 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 
00038 #include "unicode/umachine.h"
00039 
00041 #define U_COPYRIGHT_STRING \
00042   " Copyright (C) 2001, International Business Machines Corporation and others. All Rights Reserved. "
00043 
00044 #define U_COPYRIGHT_STRING_LENGTH  128
00045 
00047 #define U_ICU_VERSION_MAJOR_NUM 2
00048 
00050 #define U_ICU_VERSION_MINOR_NUM 0
00051 
00053 #define U_ICU_VERSION_PATCHLEVEL_NUM 0
00054 
00056 #define U_ICU_VERSION_SUFFIX _2_0
00057 
00060 #define U_ICU_VERSION "2.0"
00061 
00063 #define U_ICU_VERSION_SHORT "20"
00064 
00066 #define U_MAX_VERSION_LENGTH 4
00067 
00069 #define U_VERSION_DELIMITER '.'
00070 
00072 #define U_MAX_VERSION_STRING_LENGTH 20
00073 
00075 typedef uint8_t UVersionInfo[U_MAX_VERSION_LENGTH];
00076 
00077 #if U_HAVE_NAMESPACE && defined(XP_CPLUSPLUS)
00078 #define U_ICU_NAMESPACE icu_2_0
00079 namespace U_ICU_NAMESPACE { }
00080 namespace icu = U_ICU_NAMESPACE;
00081 U_NAMESPACE_USE
00082 #endif
00083 
00084 
00085 /*===========================================================================*/
00086 /* General version helper functions. Definitions in putil.c                  */
00087 /*===========================================================================*/
00088 
00099 U_CAPI void U_EXPORT2
00100 u_versionFromString(UVersionInfo versionArray, const char *versionString);
00101 
00113 U_CAPI void U_EXPORT2
00114 u_versionToString(UVersionInfo versionArray, char *versionString);
00115 
00124 U_CAPI void U_EXPORT2
00125 u_getVersion(UVersionInfo versionArray);
00126 
00127 
00128 /*===========================================================================*/
00129 /* ICU collation framework version information                               */
00130 /* Version info that can be obtained from a collator is affected by these    */
00131 /* numbers in a secret and magic way. Please use collator version as whole   */
00132 /*===========================================================================*/
00133 
00138 #define UCOL_RUNTIME_VERSION 3
00139 
00144 #define UCOL_BUILDER_VERSION 3
00145 
00146 /* This is the version of FractionalUCA.txt tailoring rules*/
00147 /* Version 1 was in ICU 1.8.1. Version two contains canonical closure for */
00148 /* supplementary code points */
00149 #define UCOL_FRACTIONAL_UCA_VERSION 2
00150 
00152 #define UCOL_TAILORINGS_VERSION 1
00153 
00154 #endif

Generated on Mon Mar 4 23:18:42 2002 for ICU 2.0 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002