1 ///////////////////////////////////////////////////////////////////////////////
2 // LameXP - Audio Encoder Front-End
3 // Copyright (C) 2004-2023 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; always including the non-optional
9 // LAMEXP GNU GENERAL PUBLIC LICENSE ADDENDUM. See "License.txt" file!
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // You should have received a copy of the GNU General Public License along
17 // with this program; if not, write to the Free Software Foundation, Inc.,
18 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 // http://www.gnu.org/licenses/gpl-2.0.txt
21 ///////////////////////////////////////////////////////////////////////////////
33 //Forward declarations
39 ///////////////////////////////////////////////////////////////////////////////
41 ///////////////////////////////////////////////////////////////////////////////
46 void lamexp_tools_register(const QString
&toolName
, LockedFile
*const file
, const quint32
&version
, const QString
&tag
= QString());
47 bool lamexp_tools_check (const QString
&toolName
);
48 const QString
lamexp_tools_lookup (const QString
&toolName
);
49 const quint32
& lamexp_tools_version (const QString
&toolName
, QString
*const tagOut
= NULL
);
54 unsigned int lamexp_version_major (void);
55 unsigned int lamexp_version_minor (void);
56 unsigned int lamexp_version_build (void);
57 unsigned int lamexp_version_confg (void);
58 const char* lamexp_version_release (void);
59 bool lamexp_version_portable (void);
60 bool lamexp_version_test (void);
61 const QDate
& lamexp_version_expires (void);
62 unsigned int lamexp_toolver_neroaac (void);
63 unsigned int lamexp_toolver_fhgaacenc(void);
64 unsigned int lamexp_toolver_fdkaacenc(void);
65 unsigned int lamexp_toolver_qaacenc (void);
70 const char *lamexp_website_url(void);
71 const char *lamexp_mulders_url(void);
72 const char *lamexp_support_url(void);
73 const char *lamexp_tracker_url(void);
78 void lamexp_initialize_resources(void);
83 const QIcon
& lamexp_app_icon(void);
84 const QString
lamexp_version2string(const QString
&pattern
, unsigned int version
, const QString
&defaultText
, const QString
&tag
= QString());
86 ///////////////////////////////////////////////////////////////////////////////
88 ///////////////////////////////////////////////////////////////////////////////
90 #define L1S(STR) (QLatin1String((STR)))
91 #define L1C(CHR) (QLatin1Char((CHR)))
92 #define NOBREAK(STR) (QString("<div style='white-space:pre'>%1</div>").arg((STR)))