Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

uversion.h

00001 /*
00002 *******************************************************************************
00003 *   Copyright (C) 2000-2003, 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) 2003, 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 2
00059 
00064 #define U_ICU_VERSION_MINOR_NUM 6
00065 
00070 #define U_ICU_VERSION_PATCHLEVEL_NUM 0
00071 
00076 #define U_ICU_VERSION_SUFFIX _2_6
00077 
00083 #define U_ICU_VERSION "2.6"
00084 
00089 #define U_ICU_VERSION_SHORT "26"
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 #define U_ICU_NAMESPACE icu_2_6
00113 namespace U_ICU_NAMESPACE { }
00114 namespace icu = U_ICU_NAMESPACE;
00115 U_NAMESPACE_USE
00116 #endif
00117 
00118 
00119 /*===========================================================================*/
00120 /* General version helper functions. Definitions in putil.c                  */
00121 /*===========================================================================*/
00122 
00134 U_CAPI void U_EXPORT2
00135 u_versionFromString(UVersionInfo versionArray, const char *versionString);
00136 
00149 U_CAPI void U_EXPORT2
00150 u_versionToString(UVersionInfo versionArray, char *versionString);
00151 
00160 U_CAPI void U_EXPORT2
00161 u_getVersion(UVersionInfo versionArray);
00162 
00163 
00164 /*===========================================================================
00165  * ICU collation framework version information                               
00166  * Version info that can be obtained from a collator is affected by these    
00167  * numbers in a secret and magic way. Please use collator version as whole
00168  *===========================================================================
00169  */
00170 
00180 #define UCOL_RUNTIME_VERSION 4
00181 
00191 #define UCOL_BUILDER_VERSION 5
00192 
00201 /*#define UCOL_FRACTIONAL_UCA_VERSION 4*/
00202 
00207 #define UCOL_TAILORINGS_VERSION 1
00208 
00209 #endif

Generated on Wed Sep 3 17:47:10 2003 for ICU 2.6 by doxygen 1.3.2