zjf
2023-03-06 392b76515f40376b6d36f40a114850ef63650384
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
///////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2002-2016, Open Design Alliance (the "Alliance").
// All rights reserved.
//
// This software and its documentation and related materials are owned by
// the Alliance. The software may only be incorporated into application
// programs owned by members of the Alliance, subject to a signed
// Membership Agreement and Supplemental Software License Agreement with the
// Alliance. The structure and organization of this software are the valuable
// trade secrets of the Alliance and its suppliers. The software is also
// protected by copyright law and international treaty provisions. Application
// programs incorporating this software must include the following statement
// with their copyright notices:
//
//   This application incorporates Teigha(R) software pursuant to a license
//   agreement with Open Design Alliance.
//   Teigha(R) Copyright (C) 2002-2016 by Open Design Alliance.
//   All rights reserved.
//
// By use of this software, its documentation or related materials, you
// acknowledge and accept the above terms.
///////////////////////////////////////////////////////////////////////////////
 
#ifndef TD_VERSION_DEFINED
#define TD_VERSION_DEFINED
 
#define TD_COMPANY_NAME_S   "Open Design Alliance"
#define TD_COMPANY_NAME_W  L"Open Design Alliance"
 
// The string below need to be defined in quotes else compiler complains in illegal characters
#define TD_COPYRIGHT_START_S            "Copyright\xA9 "
#define TD_COPYRIGHT_START_YEAR_S       "2002"
#define TD_COPYRIGHT_END_S              "-2016, Open Design Alliance"
#define TD_COPYRIGHT_START_W           L"Copyright \x00A9 "
#define TD_COPYRIGHT_START_YEAR_W      L"2002"
#define TD_COPYRIGHT_END_W             L"-2016, Open Design Alliance"
#define TDNET_C_COPYRIGHT_START_YEAR_W TD_COPYRIGHT_START_YEAR_W
#define TDNET_COPYRIGHT_START_YEAR_W   TD_COPYRIGHT_START_YEAR_W
 
#define TD_COPYRIGHT_S       TD_COPYRIGHT_START_S TD_COPYRIGHT_START_YEAR_S TD_COPYRIGHT_END_S
#define TD_COPYRIGHT_W       TD_COPYRIGHT_START_W TD_COPYRIGHT_START_YEAR_W TD_COPYRIGHT_END_W
 
#define TD_PRODUCT_NAME_START_S          "Teigha\xAE"
#define TD_PRODUCT_NAME_ADDITION_S       ""
#define TDX_PRODUCT_NAME_ADDITION_S      "X"
#define TD_PRODUCT_NAME_END_S            ""//" for .dwg files"
#define TD_PRODUCT_NAME_START_W         L"Teigha\x00AE"
#define TD_PRODUCT_NAME_ADDITION_W      L""
#define TDX_PRODUCT_NAME_ADDITION_W     L"X"
#define TDNET_PRODUCT_NAME_ADDITION_W   L".NET"
#define TDNET_C_PRODUCT_NAME_ADDITION_W L".NET Classic"
#define TD_PRODUCT_NAME_END_W           L""//L" for .dwg files"
 
#define TD_PRODUCT_NAME_S TD_PRODUCT_NAME_START_S TD_PRODUCT_NAME_END_S
#define TD_PRODUCT_NAME_W TD_PRODUCT_NAME_START_W TD_PRODUCT_NAME_END_W
 
#define DEFAULT_MODULE_EXTENSION_S             "tx"
#define DEFAULT_MODULE_EXTENSION_DOT_S        ".tx"
#define DEFAULT_MODULE_EXTENSION_W            L"tx"
#define DEFAULT_MODULE_EXTENSION_DOT_W       L".tx"
#define VECTORIZATION_MODULE_EXTENSION_S       "txv"
#define VECTORIZATION_MODULE_EXTENSION_DOT_S  ".txv"
#define VECTORIZATION_MODULE_EXTENSION_W      L"txv"
#define VECTORIZATION_MODULE_EXTENSION_DOT_W L".txv"
 
 
// Full Product version is:
//   TD_MAJOR_VERSION.TD_MINOR_VERSION.TD_MAJOR_BUILD.TD_MINOR_BUILD
// Example: 1.11.00.00 (initial 1.11 release).
// OpenDesign maintenance updates to 1.11 will increase the major build number,
// for example, 1.11.01.00, 1.11.02.00, etc.  Minor build number is reserved for
// client builds.
 
/* When Incrementing these be sure to make the appropriate changes
 * to the Version string and build comments.
 */
#define TD_MAJOR_VERSION          4
#define TD_MINOR_VERSION          2
#define TD_MAJOR_BUILD            0
#define TD_MINOR_BUILD            0
 
// Numeric representation of the TD version to be used in preprocessor definitions
// like #if (TD_VERSION > 30500) ...
// (we never use minor build number, and it is not included in version.
// If you are building your custom version of Teigha, you may define an alternative TD_VERSION_
// or TD_VERSION_FULL, to distinguish between minor builds if necessary)
#define TD_VERSION  (TD_MAJOR_BUILD + TD_MINOR_VERSION*100 + TD_MAJOR_VERSION*10000)
 
#define TD_SHORT_STRING_VER_S   "4.02"
#define TD_SHORT_STRING_VER_W  L"4.02"
 
#define TD_PRODUCT_VER_STR_S   "4.02.0.0"
#define TD_PRODUCT_VER_STR_W  L"4.02.0.0"
 
//Changed in VersionInfo to TD_PRODUCT_NAME_S " " TD_PRODUCT_VER_STR_S
//That need for NET and ActiveX
#define TD_BUILD_COMMENTS_S    "Teigha\xAE 4.02.0.0"
#define TD_BUILD_COMMENTS_W   L"Teigha\x00AE 4.02.0.0"
 
 
#define TD_TYPELIB_VER(MAJ,MIN) version(##MAJ##.##MIN##)
 
#define TEIGHA_BUILD_NUMBER 23105
#define TEIGHA_MAIN_SVN_REVISION 2960
#define TEIGHA_CORE_SVN_REVISION 162012
#define TEIGHA_DGN_SVN_REVISION 5106
#define TEIGHA_ARCHITECTURE_SVN_REVISION 68476
#define TEIGHA_CIVIL_SVN_REVISION 68403
#define TEIGHA_NET_SVN_REVISION 1161
#define TEIGHA_JAVA_SVN_REVISION 1151
#define TEIGHA_MECHANICAL_SVN_REVISION 864
#define TEIGHA_PRC_SVN_REVISION 1367
#define TEIGHA_BIM_SVN_REVISION 3102
#define TEIGHA_CLOUD_SVN_REVISION 2785
 
#if defined(_TOOLKIT_IN_DLL_) && defined(_MSC_VER) // second condition for RC
#define TD_STRINGIZE2( s )      L##s
#define TD_STRINGIZE( s )       TD_STRINGIZE2( s )
 
#if _MSC_VER == 1200
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_6"
#elif _MSC_VER == 1310
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_7"
#elif _MSC_VER == 1400
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_8"
#elif _MSC_VER == 1500
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_9"
#elif _MSC_VER == 1600
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_10"
#elif _MSC_VER == 1700
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_11"
#elif _MSC_VER == 1800
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_12"
#elif _MSC_VER == 1900
#define TD_DLL_VERSION_SUFFIX_STR L"_" TD_STRINGIZE(TD_SHORT_STRING_VER_S) L"_14"
#else
#error "Unsupported compiler for suffixed version"
#endif
#endif
 
 
#if defined(_TOOLKIT_IN_DLL_) && defined(__BORLANDC__)
#define TD_STRINGIZE2( s )      L""##s
#define TD_STRINGIZE( s )       TD_STRINGIZE2( s )
 
#if __BORLANDC__ >= 0x0580 && __BORLANDC__ <= 0x0589
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_b6"
#elif __BORLANDC__ >= 0x0610 && __BORLANDC__ <= 0x0619
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_b9"
#elif __BORLANDC__ >= 0x0620 && __BORLANDC__ <= 0x0629
#define TD_DLL_VERSION_SUFFIX_STR L"_"##TD_STRINGIZE(TD_SHORT_STRING_VER_S)##L"_b10"
#else
#error "Unsupported compiler for suffixed version"
#endif
#endif
 
#endif  // ODA_VERSION_DEFINED