1/*
2*******************************************************************************
3*   Copyright (C) 2000-2011, International Business Machines
4*   Corporation and others.  All Rights Reserved.
5*******************************************************************************
6*
7*   file name:  uvernum.h
8*   encoding:   US-ASCII
9*   tab size:   8 (not used)
10*   indentation:4
11*
12*   Created by: Vladimir Weinstein
13*   Updated by: Steven R. Loomis
14*
15*  Gets included by uversion.h and other files.
16*
17* IMPORTANT: When updating version, the following things need to be done:
18* source/common/unicode/uvernum.h - this file: update major, minor,
19*        patchlevel, suffix, version, short version constants, namespace,
20*                    renaming macro, and copyright
21*
22* The following files need to be updated as well, which can be done
23*  by running the UNIX makefile target 'update-windows-makefiles' in icu/source.
24*
25*
26* source/common/common.vcproj - update 'Output file name' on the link tab so
27*                   that it contains the new major/minor combination
28* source/i18n/i18n.vcproj - same as for the common.vcproj
29* source/layout/layout.vcproj - same as for the common.vcproj
30* source/layoutex/layoutex.vcproj - same
31* source/stubdata/stubdata.vcproj - same as for the common.vcproj
32* source/io/io.vcproj - same as for the common.vcproj
33* source/data/makedata.mak - change U_ICUDATA_NAME so that it contains
34*                            the new major/minor combination and the Unicode version.
35*/
36
37#ifndef UVERNUM_H
38#define UVERNUM_H
39
40/** The standard copyright notice that gets compiled into each library.
41 *  This value will change in the subsequent releases of ICU
42 *  @stable ICU 2.4
43 */
44#define U_COPYRIGHT_STRING \
45  " Copyright (C) 2011, International Business Machines Corporation and others. All Rights Reserved. "
46
47/** The current ICU major version as an integer.
48 *  This value will change in the subsequent releases of ICU
49 *  @stable ICU 2.4
50 */
51#define U_ICU_VERSION_MAJOR_NUM 4
52
53/** The current ICU minor version as an integer.
54 *  This value will change in the subsequent releases of ICU
55 *  @stable ICU 2.6
56 */
57#define U_ICU_VERSION_MINOR_NUM 6
58
59/** The current ICU patchlevel version as an integer.
60 *  This value will change in the subsequent releases of ICU
61 *  @stable ICU 2.4
62 */
63#define U_ICU_VERSION_PATCHLEVEL_NUM 1
64
65/** The current ICU build level version as an integer.
66 *  This value is for use by ICU clients. It defaults to 0.
67 *  @stable ICU 4.0
68 */
69#ifndef U_ICU_VERSION_BUILDLEVEL_NUM
70#define U_ICU_VERSION_BUILDLEVEL_NUM 0
71#endif
72
73/** Glued version suffix for renamers
74 *  This value will change in the subsequent releases of ICU
75 *  @stable ICU 2.6
76 */
77#define U_ICU_VERSION_SUFFIX _46
78
79/** Glued version suffix function for renamers
80 *  This value will change in the subsequent releases of ICU.
81 *  If a custom suffix (such as matching library suffixes) is desired, this can be modified.
82 *  Note that if present, platform.h may contain an earlier definition of this macro.
83 *  @stable ICU 4.2
84 */
85#ifndef U_ICU_ENTRY_POINT_RENAME
86#define U_ICU_ENTRY_POINT_RENAME(x)    x ## _46
87#endif
88
89/** The current ICU library version as a dotted-decimal string. The patchlevel
90 *  only appears in this string if it non-zero.
91 *  This value will change in the subsequent releases of ICU
92 *  @stable ICU 2.4
93 */
94#define U_ICU_VERSION "4.6.1"
95
96/** The current ICU library major/minor version as a string without dots, for library name suffixes.
97 *  This value will change in the subsequent releases of ICU
98 *  @stable ICU 2.6
99 */
100#define U_ICU_VERSION_SHORT "46"
101
102/** Data version in ICU4C.
103 * @internal ICU 4.4 Internal Use Only
104 **/
105#define U_ICU_DATA_VERSION "4.6"
106
107/*===========================================================================
108 * ICU collation framework version information
109 * Version info that can be obtained from a collator is affected by these
110 * numbers in a secret and magic way. Please use collator version as whole
111 *===========================================================================
112 */
113
114/**
115 * Collation runtime version (sort key generator, strcoll).
116 * If the version is different, sort keys for the same string could be different.
117 * This value may change in subsequent releases of ICU.
118 * @stable ICU 2.4
119 */
120#define UCOL_RUNTIME_VERSION 7
121
122/**
123 * Collation builder code version.
124 * When this is different, the same tailoring might result
125 * in assigning different collation elements to code points.
126 * This value may change in subsequent releases of ICU.
127 * @stable ICU 2.4
128 */
129#define UCOL_BUILDER_VERSION 8
130
131/**
132 * This is the version of collation tailorings.
133 * This value may change in subsequent releases of ICU.
134 * @stable ICU 2.4
135 */
136#define UCOL_TAILORINGS_VERSION 1
137
138#endif
139