24 #include "qmmp_export.h" 26 #define QMMP_VERSION_MAJOR 1 27 #define QMMP_VERSION_MINOR 4 28 #define QMMP_VERSION_PATCH 6 29 #define QMMP_VERSION_STABLE 1 31 #define QMMP_VERSION_INT (QMMP_VERSION_MAJOR<<16 | QMMP_VERSION_MINOR<<8 | QMMP_VERSION_PATCH) 37 #define QStringToFileName(s) TagLib::FileName(reinterpret_cast<const wchar_t *>(s.utf16())) 39 #define QStringToFileName(s) s.toLocal8Bit().constData() 42 #if (QT_VERSION < QT_VERSION_CHECK(5, 7, 0)) 45 Q_DECL_CONSTEXPR
typename std::add_const<T>::type &qAsConst(T &t) noexcept {
return t; }
48 void qAsConst(
const T &&) =
delete;
92 UNKNOWN_PROPERTY = -1,
106 REPLAYGAIN_TRACK_GAIN = 0,
109 REPLAYGAIN_ALBUM_PEAK
140 CHAN_FRONT_LEFT = 0x01,
141 CHAN_FRONT_RIGHT = 0x02,
142 CHAN_REAR_LEFT = 0x04,
143 CHAN_REAR_RIGHT = 0x08,
144 CHAN_FRONT_CENTER = 0x10,
145 CHAN_REAR_CENTER = 0x20,
146 CHAN_SIDE_LEFT = 0x40,
147 CHAN_SIDE_RIGHT = 0x80,
154 static QString configFile();
158 static QString configDir();
162 static void setConfigDir(
const QString &path);
166 static QString strVersion();
170 static QString pluginPath();
175 static QStringList findPlugins(
const QString &prefix);
179 static QString systemLanguageID();
183 static QString uiLanguageID();
188 static void setUiLanguageID(
const QString &code);
192 static QString dataPath();
197 static bool isPortable();
201 static QString m_configDir;
202 static QString m_langID;
204 static QString m_appDir;
State
Definition: qmmp.h:61
ChannelPosition
Definition: qmmp.h:137
MetaData
Definition: qmmp.h:73
ReplayGainKey
Definition: qmmp.h:104
AudioFormat
Definition: qmmp.h:114
TrackProperty
Definition: qmmp.h:90
The Qmmp class stores global settings and enums.
Definition: qmmp.h:55