uversion.h

Go to the documentation of this file.
00001 /*
00002 *******************************************************************************
00003 *   Copyright (C) 2000-2006, 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 6
00071 
00076 #define U_ICU_VERSION_PATCHLEVEL_NUM 0
00077 
00082 #define U_ICU_VERSION_SUFFIX _3_6
00083 
00089 #define U_ICU_VERSION "3.6"
00090 
00095 #define U_ICU_VERSION_SHORT "36"
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_6
00123 namespace U_ICU_NAMESPACE { }
00124 namespace icu = U_ICU_NAMESPACE;
00125 #endif
00126 
00127 #ifndef U_USING_ICU_NAMESPACE
00128 #   define U_USING_ICU_NAMESPACE 1
00129 #endif
00130 
00131 #if U_USING_ICU_NAMESPACE
00132 U_NAMESPACE_USE
00133 #endif
00134 
00135 #endif
00136 
00137 
00138 /*===========================================================================*/
00139 /* General version helper functions. Definitions in putil.c                  */
00140 /*===========================================================================*/
00141 
00153 U_STABLE void U_EXPORT2
00154 u_versionFromString(UVersionInfo versionArray, const char *versionString);
00155 
00168 U_STABLE void U_EXPORT2
00169 u_versionToString(UVersionInfo versionArray, char *versionString);
00170 
00179 U_STABLE void U_EXPORT2
00180 u_getVersion(UVersionInfo versionArray);
00181 
00182 
00183 /*===========================================================================
00184  * ICU collation framework version information                               
00185  * Version info that can be obtained from a collator is affected by these    
00186  * numbers in a secret and magic way. Please use collator version as whole
00187  *===========================================================================
00188  */
00189 
00201 #define UCOL_RUNTIME_VERSION 6
00202 
00215 #define UCOL_BUILDER_VERSION 7
00216 
00225 /*#define UCOL_FRACTIONAL_UCA_VERSION 4*/
00226 
00231 #define UCOL_TAILORINGS_VERSION 1
00232 
00233 #endif

Generated on Mon Aug 13 07:17:25 2007 for ICU 3.6 by  doxygen 1.5.2