Version v4.04 is released!
[LameXP.git] / src / Config.h
blobdc3e8c0fd18d5540402feb8d969e63d475f67a88
1 ///////////////////////////////////////////////////////////////////////////////
2 // LameXP - Audio Encoder Front-End
3 // Copyright (C) 2004-2012 LoRd_MuldeR <MuldeR2@GMX.de>
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 2 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License along
16 // with this program; if not, write to the Free Software Foundation, Inc.,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 // http://www.gnu.org/licenses/gpl-2.0.txt
20 ///////////////////////////////////////////////////////////////////////////////
22 #pragma once
24 ///////////////////////////////////////////////////////////////////////////////
25 // LameXP Version Info
26 ///////////////////////////////////////////////////////////////////////////////
28 #define VER_LAMEXP_MAJOR 4
29 #define VER_LAMEXP_MINOR_HI 0
30 #define VER_LAMEXP_MINOR_LO 4
31 #define VER_LAMEXP_TYPE Final
32 #define VER_LAMEXP_PATCH 1
33 #define VER_LAMEXP_BUILD 988
35 ///////////////////////////////////////////////////////////////////////////////
36 // Tool versions (minimum expected versions!)
37 ///////////////////////////////////////////////////////////////////////////////
39 #define VER_LAMEXP_TOOL_NEROAAC 1540
40 #define VER_LAMEXP_TOOL_FHGAACENC 20110822
41 #define VER_LAMEXP_TOOL_QAAC 131
42 #define VER_LAMEXP_TOOL_COREAUDIO 7710
44 ///////////////////////////////////////////////////////////////////////////////
45 // Helper macros (aka: having fun with the C pre-processor)
46 ///////////////////////////////////////////////////////////////////////////////
48 #define VER_LAMEXP_SUFFIX_HLP1(X,Y) X-Y
49 #define VER_LAMEXP_SUFFIX_HLP2(X,Y) VER_LAMEXP_SUFFIX_HLP1(X,Y)
50 #define VER_LAMEXP_SUFFIX VER_LAMEXP_SUFFIX_HLP2(VER_LAMEXP_TYPE, VER_LAMEXP_PATCH)
52 #define VER_LAMEXP_STR_HLP1(X) #X
53 #define VER_LAMEXP_STR_HLP2(U,V,W,X,Y,Z) VER_LAMEXP_STR_HLP1(v##U.V##W Y; Build X; Z)
54 #define VER_LAMEXP_STR_HLP3(U,V,W,X,Y,Z) VER_LAMEXP_STR_HLP2(U,V,W,X,Y,Z)
55 #define VER_LAMEXP_STR VER_LAMEXP_STR_HLP3(VER_LAMEXP_MAJOR,VER_LAMEXP_MINOR_HI,VER_LAMEXP_MINOR_LO,VER_LAMEXP_BUILD,VER_LAMEXP_SUFFIX,_CONFIG_NAME)
57 #define VER_LAMEXP_RNAME_HLP1(X) #X
58 #define VER_LAMEXP_RNAME_HLP2(X) VER_LAMEXP_RNAME_HLP1(X)
59 #define VER_LAMEXP_RNAME VER_LAMEXP_RNAME_HLP2(VER_LAMEXP_SUFFIX)
61 #define VER_LAMEXP_MINOR_HLP1(X,Y) X##Y
62 #define VER_LAMEXP_MINOR_HLP2(X,Y) VER_LAMEXP_MINOR_HLP1(X,Y)
63 #define VER_LAMEXP_MINOR VER_LAMEXP_MINOR_HLP2(VER_LAMEXP_MINOR_HI,VER_LAMEXP_MINOR_LO)