1 ///////////////////////////////////////////////////////////////////////////////
2 // LameXP - Audio Encoder Front-End
3 // Copyright (C) 2004-2010 LoRd_MuldeR <MuldeR2@GMX.de>
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.
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 ///////////////////////////////////////////////////////////////////////////////
27 #define MAKE_GETTER_DEC(OPT) int OPT(void)
28 #define MAKE_SETTER_DEC(OPT) void OPT(int value)
29 #define MAKE_GETTER_DEC2(OPT) QString OPT(void)
30 #define MAKE_SETTER_DEC2(OPT) void OPT(const QString &value)
55 static const int mp3Bitrates[15];
58 MAKE_GETTER_DEC(licenseAccepted);
59 MAKE_GETTER_DEC(interfaceStyle);
60 MAKE_GETTER_DEC(compressionEncoder);
61 MAKE_GETTER_DEC(compressionRCMode);
62 MAKE_GETTER_DEC(compressionBitrate);
63 MAKE_GETTER_DEC2(outputDir);
67 MAKE_SETTER_DEC(licenseAccepted);
68 MAKE_SETTER_DEC(interfaceStyle);
69 MAKE_SETTER_DEC(compressionBitrate);
70 MAKE_SETTER_DEC(compressionRCMode);
71 MAKE_SETTER_DEC(compressionEncoder);
72 MAKE_SETTER_DEC2(outputDir);
77 QSettings *m_settings;
80 #undef MAKE_GETTER_DEC
81 #undef MAKE_SETTER_DEC
82 #undef MAKE_GETTER_DEC2
83 #undef MAKE_SETTER_DEC2