Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

uversion.h

Go to the documentation of this file.
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 2
00052 
00054 #define U_ICU_VERSION_PATCHLEVEL_NUM 0
00055 
00057 #define U_ICU_VERSION_SUFFIX _2_2
00058 
00061 #define U_ICU_VERSION "2.2"
00062 
00064 #define U_ICU_VERSION_SHORT "22"
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_2
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 
00141 #define UCOL_RUNTIME_VERSION 4
00142 
00149 #define UCOL_BUILDER_VERSION 5
00150 
00151 /* This is the version of FractionalUCA.txt tailoring rules*/
00152 /* Version 1 was in ICU 1.8.1. Version two contains canonical closure for */
00153 /* supplementary code points */
00154 /* Version 4 in ICU 2.2, following UCA=3.1.1d6, UCD=3.2.0 */
00155 #define UCOL_FRACTIONAL_UCA_VERSION 4
00156 
00158 #define UCOL_TAILORINGS_VERSION 1
00159 
00160 #endif

Generated on Thu Aug 15 14:13:35 2002 for ICU 2.2 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001