uversion.h

Go to the documentation of this file.
00001 /*
00002 *******************************************************************************
00003 *   Copyright (C) 2000-2005, 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 
00022 /*===========================================================================*/
00023 /* Main ICU version information                                              */
00024 /*===========================================================================*/
00025 
00026 #ifndef UVERSION_H
00027 #define UVERSION_H
00028 
00046 #include "unicode/umachine.h"
00047 
00052 #define U_COPYRIGHT_STRING \
00053   " Copyright (C) 2005, International Business Machines Corporation and others. All Rights Reserved. "
00054 
00058 #define U_COPYRIGHT_STRING_LENGTH  128
00059 
00064 #define U_ICU_VERSION_MAJOR_NUM 3
00065 
00070 #define U_ICU_VERSION_MINOR_NUM 4
00071 
00076 #define U_ICU_VERSION_PATCHLEVEL_NUM 0
00077 
00082 #define U_ICU_VERSION_SUFFIX _3_4
00083 
00089 #define U_ICU_VERSION "3.4"
00090 
00095 #define U_ICU_VERSION_SHORT "34"
00096 
00100 #define U_MAX_VERSION_LENGTH 4
00101 
00105 #define U_VERSION_DELIMITER '.'
00106 
00110 #define U_MAX_VERSION_STRING_LENGTH 20
00111 
00115 typedef uint8_t UVersionInfo[U_MAX_VERSION_LENGTH];
00116 
00117 #if U_HAVE_NAMESPACE && defined(XP_CPLUSPLUS)
00118 #if U_DISABLE_RENAMING
00119 #define U_ICU_NAMESPACE icu
00120 namespace U_ICU_NAMESPACE { }
00121 #else
00122 #define U_ICU_NAMESPACE icu_3_4
00123 namespace U_ICU_NAMESPACE { }
00124 namespace icu = U_ICU_NAMESPACE;
00125 #endif
00126 U_NAMESPACE_USE
00127 #endif
00128 
00129 
00130 /*===========================================================================*/
00131 /* General version helper functions. Definitions in putil.c                  */
00132 /*===========================================================================*/
00133 
00145 U_STABLE void U_EXPORT2
00146 u_versionFromString(UVersionInfo versionArray, const char *versionString);
00147 
00160 U_STABLE void U_EXPORT2
00161 u_versionToString(UVersionInfo versionArray, char *versionString);
00162 
00171 U_STABLE void U_EXPORT2
00172 u_getVersion(UVersionInfo versionArray);
00173 
00174 
00175 /*===========================================================================
00176  * ICU collation framework version information                               
00177  * Version info that can be obtained from a collator is affected by these    
00178  * numbers in a secret and magic way. Please use collator version as whole
00179  *===========================================================================
00180  */
00181 
00193 #define UCOL_RUNTIME_VERSION 6
00194 
00207 #define UCOL_BUILDER_VERSION 7
00208 
00217 /*#define UCOL_FRACTIONAL_UCA_VERSION 4*/
00218 
00223 #define UCOL_TAILORINGS_VERSION 1
00224 
00225 #endif

Generated on Tue Sep 13 11:03:33 2005 for ICU 3.4 by  doxygen 1.4.4