uversion.h

Go to the documentation of this file.
00001 /*
00002 *******************************************************************************
00003 *   Copyright (C) 2000-2007, 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) 2007, 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 8
00071 
00076 #define U_ICU_VERSION_PATCHLEVEL_NUM 0
00077 
00082 #define U_ICU_VERSION_SUFFIX _3_8
00083 
00089 #define U_ICU_VERSION "3.8"
00090 
00095 #define U_ICU_VERSION_SHORT "38"
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 /*===========================================================================*/
00118 /* C++ namespace if supported. Versioned unless versioning is disabled.      */
00119 /*===========================================================================*/
00120 
00151 /* Define namespace symbols if the compiler supports it. */
00152 #if U_HAVE_NAMESPACE && defined(XP_CPLUSPLUS)
00153 #   if U_DISABLE_RENAMING
00154 #       define U_ICU_NAMESPACE icu
00155         namespace U_ICU_NAMESPACE { }
00156 #   else
00157 #       define U_ICU_NAMESPACE icu_3_8
00158         namespace U_ICU_NAMESPACE { }
00159         namespace icu = U_ICU_NAMESPACE;
00160 #   endif
00161 
00162 #   define U_NAMESPACE_BEGIN namespace U_ICU_NAMESPACE {
00163 #   define U_NAMESPACE_END  }
00164 #   define U_NAMESPACE_USE using namespace U_ICU_NAMESPACE;
00165 #   define U_NAMESPACE_QUALIFIER U_ICU_NAMESPACE::
00166 
00167 #   ifndef U_USING_ICU_NAMESPACE
00168 #       define U_USING_ICU_NAMESPACE 1
00169 #   endif
00170 #   if U_USING_ICU_NAMESPACE
00171         U_NAMESPACE_USE
00172 #   endif
00173 #else
00174 #   define U_NAMESPACE_BEGIN
00175 #   define U_NAMESPACE_END
00176 #   define U_NAMESPACE_USE
00177 #   define U_NAMESPACE_QUALIFIER
00178 #endif
00179 
00180 
00181 /*===========================================================================*/
00182 /* General version helper functions. Definitions in putil.c                  */
00183 /*===========================================================================*/
00184 
00196 U_STABLE void U_EXPORT2
00197 u_versionFromString(UVersionInfo versionArray, const char *versionString);
00198 
00211 U_STABLE void U_EXPORT2
00212 u_versionToString(UVersionInfo versionArray, char *versionString);
00213 
00222 U_STABLE void U_EXPORT2
00223 u_getVersion(UVersionInfo versionArray);
00224 
00225 
00226 /*===========================================================================
00227  * ICU collation framework version information                               
00228  * Version info that can be obtained from a collator is affected by these    
00229  * numbers in a secret and magic way. Please use collator version as whole
00230  *===========================================================================
00231  */
00232 
00244 #define UCOL_RUNTIME_VERSION 6
00245 
00258 #define UCOL_BUILDER_VERSION 7
00259 
00264 #define UCOL_TAILORINGS_VERSION 1
00265 
00266 #endif

Generated on Thu Dec 13 09:31:21 2007 for ICU 3.8 by  doxygen 1.5.4