24 #include "qmmp_export.h" 26 #define QMMP_VERSION_MAJOR 0 27 #define QMMP_VERSION_MINOR 12 28 #define QMMP_VERSION_PATCH 14 29 #define QMMP_VERSION_STABLE 0 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() 83 UNKNOWN_PROPERTY = -1,
97 REPLAYGAIN_TRACK_GAIN = 0,
100 REPLAYGAIN_ALBUM_PEAK
131 CHAN_FRONT_LEFT = 0x01,
132 CHAN_FRONT_RIGHT = 0x02,
133 CHAN_REAR_LEFT = 0x04,
134 CHAN_REAR_RIGHT = 0x08,
135 CHAN_FRONT_CENTER = 0x10,
136 CHAN_REAR_CENTER = 0x20,
137 CHAN_SIDE_LEFT = 0x40,
138 CHAN_SIDE_RIGHT = 0x80,
145 static QString configFile();
149 static QString configDir();
153 static void setConfigDir(
const QString &path);
157 static QString strVersion();
161 static QString pluginPath();
166 static QStringList findPlugins(
const QString &prefix);
170 static QString systemLanguageID();
174 static QString uiLanguageID();
179 static void setUiLanguageID(
const QString &code);
183 static QString dataPath();
188 static bool isPortable();
192 static QString m_configDir;
193 static QString m_langID;
195 static QString m_appDir;
State
Definition: qmmp.h:52
ChannelPosition
Definition: qmmp.h:128
MetaData
Definition: qmmp.h:64
ReplayGainKey
Definition: qmmp.h:95
AudioFormat
Definition: qmmp.h:105
TrackProperty
Definition: qmmp.h:81
The Qmmp class stores global settings and enums.
Definition: qmmp.h:46