1 ///////////////////////////////////////////////////////////////////////////////
2 // LameXP - Audio Encoder Front-End
3 // Copyright (C) 2004-2011 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_OPTION_DEC1(OPT) \
31 #define MAKE_OPTION_DEC2(OPT) \
33 void OPT(const QString &value);
35 #define MAKE_OPTION_DEC3(OPT) \
62 static const int mp3Bitrates[15];
65 MAKE_OPTION_DEC1(licenseAccepted);
66 MAKE_OPTION_DEC1(interfaceStyle);
67 MAKE_OPTION_DEC1(compressionEncoder);
68 MAKE_OPTION_DEC1(compressionRCMode);
69 MAKE_OPTION_DEC1(compressionBitrate);
70 MAKE_OPTION_DEC2(outputDir);
71 MAKE_OPTION_DEC3(outputToSourceDir);
72 MAKE_OPTION_DEC3(prependRelativeSourcePath);
73 MAKE_OPTION_DEC3(writeMetaTags);
74 MAKE_OPTION_DEC3(createPlaylist);
75 MAKE_OPTION_DEC2(autoUpdateLastCheck);
76 MAKE_OPTION_DEC3(autoUpdateEnabled);
77 MAKE_OPTION_DEC3(soundsEnabled);
78 MAKE_OPTION_DEC3(neroAacNotificationsEnabled)
79 MAKE_OPTION_DEC3(wmaDecoderNotificationsEnabled)
80 MAKE_OPTION_DEC3(dropBoxWidgetEnabled)
81 MAKE_OPTION_DEC2(currentLanguage);
87 QSettings *m_settings;
90 #undef MAKE_OPTION_DEC1
91 #undef MAKE_OPTION_DEC2
92 #undef MAKE_OPTION_DEC3