uversion.h

00001 /*
00002 *******************************************************************************
00003 *   Copyright (C) 2000-2004, 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 
00040 #include "unicode/umachine.h"
00041 
00046 #define U_COPYRIGHT_STRING \
00047   " Copyright (C) 2004, International Business Machines Corporation and others. All Rights Reserved. "
00048 
00052 #define U_COPYRIGHT_STRING_LENGTH  128
00053 
00058 #define U_ICU_VERSION_MAJOR_NUM 3
00059 
00064 #define U_ICU_VERSION_MINOR_NUM 2
00065 
00070 #define U_ICU_VERSION_PATCHLEVEL_NUM 0
00071 
00076 #define U_ICU_VERSION_SUFFIX _3_2
00077 
00083 #define U_ICU_VERSION "3.2"
00084 
00089 #define U_ICU_VERSION_SHORT "32"
00090 
00094 #define U_MAX_VERSION_LENGTH 4
00095 
00099 #define U_VERSION_DELIMITER '.'
00100 
00104 #define U_MAX_VERSION_STRING_LENGTH 20
00105 
00109 typedef uint8_t UVersionInfo[U_MAX_VERSION_LENGTH];
00110 
00111 #if U_HAVE_NAMESPACE && defined(XP_CPLUSPLUS)
00112 #if U_DISABLE_RENAMING
00113 #define U_ICU_NAMESPACE icu
00114 namespace U_ICU_NAMESPACE { }
00115 #else
00116 #define U_ICU_NAMESPACE icu_3_2
00117 namespace U_ICU_NAMESPACE { }
00118 namespace icu = U_ICU_NAMESPACE;
00119 #endif
00120 U_NAMESPACE_USE
00121 #endif
00122 
00123 
00124 /*===========================================================================*/
00125 /* General version helper functions. Definitions in putil.c                  */
00126 /*===========================================================================*/
00127 
00139 U_STABLE void U_EXPORT2
00140 u_versionFromString(UVersionInfo versionArray, const char *versionString);
00141 
00154 U_STABLE void U_EXPORT2
00155 u_versionToString(UVersionInfo versionArray, char *versionString);
00156 
00165 U_STABLE void U_EXPORT2
00166 u_getVersion(UVersionInfo versionArray);
00167 
00168 
00169 /*===========================================================================
00170  * ICU collation framework version information                               
00171  * Version info that can be obtained from a collator is affected by these    
00172  * numbers in a secret and magic way. Please use collator version as whole
00173  *===========================================================================
00174  */
00175 
00186 #define UCOL_RUNTIME_VERSION 5
00187 
00198 #define UCOL_BUILDER_VERSION 6
00199 
00208 /*#define UCOL_FRACTIONAL_UCA_VERSION 4*/
00209 
00214 #define UCOL_TAILORINGS_VERSION 1
00215 
00216 #endif

Generated on Tue Nov 16 10:03:07 2004 for ICU 3.2 by  doxygen 1.3.9.1