00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef QMMP_H
00021 #define QMMP_H
00022
00023 #include <QUrl>
00024
00028 class Qmmp
00029 {
00030 public:
00034 enum State
00035 {
00036 Playing = 0,
00037 Paused,
00038 Stopped,
00039 Buffering,
00040 NormalError,
00041 FatalError
00042 };
00046 enum MetaData
00047 {
00048 TITLE = 0,
00049 ARTIST,
00050 ALBUM,
00051 COMMENT,
00052 GENRE,
00053 COMPOSER,
00054 YEAR,
00055 TRACK,
00056 DISCNUMBER,
00057 URL
00058 };
00062 enum ReplayGainKey
00063 {
00064 REPLAYGAIN_TRACK_GAIN = 0,
00065 REPLAYGAIN_TRACK_PEAK,
00066 REPLAYGAIN_ALBUM_GAIN,
00067 REPLAYGAIN_ALBUM_PEAK
00068 };
00072 enum AudioFormat
00073 {
00074 PCM_UNKNOWM = -1,
00075 PCM_S8 = 0,
00076 PCM_S16LE,
00077 PCM_S24LE,
00078 PCM_S32LE
00079 };
00083 static const QString configFile();
00087 static void setConfigFile(const QString &path);
00091 static const QString strVersion();
00095 static const QString pluginsPath();
00099 static QString systemLanguageID();
00100
00101 private:
00102 static QString m_configFile;
00103
00104 };
00105
00106 #endif