Check-in [939896c4f6]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added wrapper units for FreeImage (version 3.16)
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 939896c4f6fce91869405e98c4ba7f473b85033d
User & Date: tinus 2014-11-07 22:48:08
Context
2014-11-07
22:48
Added wrapper units for FreeImage (version 3.16) check-in: 5243a1a4e2 user: tinus tags: trunk
22:48
Added wrapper units for FreeImage (version 3.16) check-in: 939896c4f6 user: tinus tags: trunk
22:47
Added wrapper units for FreeImage (version 3.16) check-in: 7dae23150a user: tinus tags: trunk
Changes

Added src/FreeImage/Version.inc.



























































































































































































































































































































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
// ==========================================================
// Delphi wrapper for FreeImage 3
//
// Design and implementation by
// - Simon Beavis
// - Peter Byström
// - Anatoliy Pulyaevskiy (xvel84@rambler.ru)
//
// Contributors:
// - Lorenzo Monti (LM)  lomo74@gmail.com
//
// Revision history
// When        Who   What
// ----------- ----- -----------------------------------------------------------
// 2010-07-29  LM    Added Free Pascal / Lazarus 32 bit support
// 2010-11-12  LM    Added Delphi XE support
// 2011-03-04  JMB   Added 64 bit compiler support
//
// This file is part of FreeImage 3
//
// COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES
// THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE
// OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED
// CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT
// THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY
// SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL
// PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER
// THIS DISCLAIMER.
//
// Use at your own risk!
// ==========================================================

//some older Delphi version will define WIN32 but not MSWINDOWS
{$IFNDEF MSWINDOWS}
  {$IFDEF WIN32}
    {$DEFINE MSWINDOWS}
  {$ENDIF}
{$ENDIF}

//test for compiler
{$IFDEF FPC}
  //Free pascal
  {$IFNDEF CPU32}
    //{$ERROR "64 bit platforms not tested yet. Remove this line if you feel brave."}
  {$ENDIF}
  {$IFNDEF ENDIAN_LITTLE}
    {$ERROR "Big endian CPUs not tested yet. Remove this line if you feel brave."}
  {$ENDIF}
	{$DEFINE DELPHI1}
	{$DEFINE DELPHI2}
	{$DEFINE DELPHI3}
	{$DEFINE DELPHI4}
	{$DEFINE DELPHI5}
	{$DEFINE DELPHI6}
	{$DEFINE DELPHI7}
{$ELSE}
  //Delphi
	{$IFDEF VER80}
		{$DEFINE DELPHI1}
	{$ENDIF}

	{$IFDEF VER90}
		{$DEFINE DELPHI1}
		{$DEFINE DELPHI2}
	{$ENDIF}

	{$IFDEF VER100}
		{$DEFINE DELPHI1}
		{$DEFINE DELPHI2}
		{$DEFINE DELPHI3}
	{$ENDIF}

	{$IFDEF VER120}
		{$DEFINE DELPHI1}
		{$DEFINE DELPHI2}
		{$DEFINE DELPHI3}
		{$DEFINE DELPHI4}
	{$ENDIF}

	{$IFDEF VER130}
		{$DEFINE DELPHI1}
		{$DEFINE DELPHI2}
		{$DEFINE DELPHI3}
		{$DEFINE DELPHI4}
		{$DEFINE DELPHI5}
	{$ENDIF}

	{$IFDEF VER140}
		{$DEFINE DELPHI1}
		{$DEFINE DELPHI2}
		{$DEFINE DELPHI3}
		{$DEFINE DELPHI4}
		{$DEFINE DELPHI5}
		{$DEFINE DELPHI6}
	{$ENDIF}

	{$IFDEF VER150}
		{$DEFINE DELPHI1}
		{$DEFINE DELPHI2}
		{$DEFINE DELPHI3}
		{$DEFINE DELPHI4}
		{$DEFINE DELPHI5}
		{$DEFINE DELPHI6}
		{$DEFINE DELPHI7}
	{$ENDIF}

	{$IFDEF VER160}
		{$DEFINE DELPHI1}
		{$DEFINE DELPHI2}
		{$DEFINE DELPHI3}
		{$DEFINE DELPHI4}
		{$DEFINE DELPHI5}
		{$DEFINE DELPHI6}
		{$DEFINE DELPHI7}
		{$DEFINE DELPHI8}
	{$ENDIF}

	{$IFDEF VER170}
		{$DEFINE DELPHI1}
		{$DEFINE DELPHI2}
		{$DEFINE DELPHI3}
		{$DEFINE DELPHI4}
		{$DEFINE DELPHI5}
		{$DEFINE DELPHI6}
		{$DEFINE DELPHI7}
		{$DEFINE DELPHI8}
		{$DEFINE DELPHI2005}
	{$ENDIF}

	{$IFDEF VER180}
		{$DEFINE DELPHI1}
		{$DEFINE DELPHI2}
		{$DEFINE DELPHI3}
		{$DEFINE DELPHI4}
		{$DEFINE DELPHI5}
		{$DEFINE DELPHI6}
		{$DEFINE DELPHI7}
		{$DEFINE DELPHI8}
		{$DEFINE DELPHI2005}
		{$DEFINE DELPHI2006}
	{$ENDIF}

	{$IFDEF VER185}
		{$DEFINE DELPHI1}
		{$DEFINE DELPHI2}
		{$DEFINE DELPHI3}
		{$DEFINE DELPHI4}
		{$DEFINE DELPHI5}
		{$DEFINE DELPHI6}
		{$DEFINE DELPHI7}
		{$DEFINE DELPHI8}
		{$DEFINE DELPHI2005}
		{$DEFINE DELPHI2006}
		{$DEFINE DELPHI2007}
	{$ENDIF}

	{$IFDEF VER200}
		{$DEFINE DELPHI1}
		{$DEFINE DELPHI2}
		{$DEFINE DELPHI3}
		{$DEFINE DELPHI4}
		{$DEFINE DELPHI5}
		{$DEFINE DELPHI6}
		{$DEFINE DELPHI7}
		{$DEFINE DELPHI8}
		{$DEFINE DELPHI2005}
		{$DEFINE DELPHI2006}
		{$DEFINE DELPHI2007}
		{$DEFINE DELPHI2009}
	{$ENDIF}

	{$IFDEF VER210}
		{$DEFINE DELPHI1}
		{$DEFINE DELPHI2}
		{$DEFINE DELPHI3}
		{$DEFINE DELPHI4}
		{$DEFINE DELPHI5}
		{$DEFINE DELPHI6}
		{$DEFINE DELPHI7}
		{$DEFINE DELPHI8}
		{$DEFINE DELPHI2005}
		{$DEFINE DELPHI2006}
		{$DEFINE DELPHI2007}
		{$DEFINE DELPHI2009}
		{$DEFINE DELPHI2010}
	{$ENDIF}

	{$IFDEF VER220}
		{$DEFINE DELPHI1}
		{$DEFINE DELPHI2}
		{$DEFINE DELPHI3}
		{$DEFINE DELPHI4}
		{$DEFINE DELPHI5}
		{$DEFINE DELPHI6}
		{$DEFINE DELPHI7}
		{$DEFINE DELPHI8}
		{$DEFINE DELPHI2005}
		{$DEFINE DELPHI2006}
		{$DEFINE DELPHI2007}
		{$DEFINE DELPHI2009}
		{$DEFINE DELPHI2010}
		{$DEFINE DELPHIXE}
	{$ENDIF}
{$ENDIF}