Improve about dialog + nicer method write version info to resource section
[LameXP.git] / src / Resource.h
blob15525b79aeff108d3a7fee7b4b66fabe28eefe43
1 ///////////////////////////////////////////////////////////////////////////////
2 // LameXP - Audio Encoder Front-End
3 // Copyright (C) 2004-2010 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 ///////////////////////////////////////////////////////////////////////////////
23 * LameXP Version Info
25 #define VER_LAMEXP_MAJOR 4
26 #define VER_LAMEXP_MINOR_HI 0
27 #define VER_LAMEXP_MINOR_LO 0
28 #define VER_LAMEXP_BUILD 7
29 #define VER_LAMEXP_SUFFIX TechPreview
32 * Resource ID's
34 #define IDI_ICON1 106
35 #define IDR_WAVE_ABOUT 666
38 * Next default values for new objects
40 #ifdef APSTUDIO_INVOKED
41 #ifndef APSTUDIO_READONLY_SYMBOLS
42 #define _APS_NEXT_RESOURCE_VALUE 107
43 #define _APS_NEXT_COMMAND_VALUE 40001
44 #define _APS_NEXT_CONTROL_VALUE 1001
45 #define _APS_NEXT_SYMED_VALUE 101
46 #endif
47 #endif
50 * Helper macros (having fun with the C pre-processor)
52 #define VER_LAMEXP_STR_HLP1(X) #X
53 #define VER_LAMEXP_STR_HLP2(V,W,X,Y,Z) VER_LAMEXP_STR_HLP1(v##V.W##X Z [Build Y])
54 #define VER_LAMEXP_STR_HLP3(V,W,X,Y,Z) VER_LAMEXP_STR_HLP2(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)
56 #define VER_LAMEXP_SUFFIX_STR_HLP1(X) #X
57 #define VER_LAMEXP_SUFFIX_STR_HLP2(X) VER_LAMEXP_SUFFIX_STR_HLP1(X)
58 #define VER_LAMEXP_SUFFIX_STR VER_LAMEXP_SUFFIX_STR_HLP2(VER_LAMEXP_SUFFIX)
59 #define VER_LAMEXP_MINOR_HLP1(X,Y) X##Y
60 #define VER_LAMEXP_MINOR_HLP2(X,Y) VER_LAMEXP_MINOR_HLP1(X,Y)
61 #define VER_LAMEXP_MINOR VER_LAMEXP_MINOR_HLP2(VER_LAMEXP_MINOR_HI,VER_LAMEXP_MINOR_LO)