1 /*
2  *  qm_songinfo.h
3  *  QUIMUP struct for song data
4  *  © 2008-2018 Johan Spee
5  *
6  *  This file is part of Quimup
7  *
8  *  QUIMUP is free software: you can redistribute it and/or modify
9  *  it under the terms of the GNU General Public License as published by
10  *  the Free Software Foundation, either version 3 of the License, or
11  *  (at your option) any later version.
12  *
13  *  QUIMUP is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  *  GNU General Public License for more details.
17  *
18  *  You should have received a copy of the GNU General Public License
19  *  along with this program. If not, see http://www.gnu.org/licenses/.
20  */
21 
22 #ifndef QM_SONGINFO_H
23 #define QM_SONGINFO_H
24 
25 # include <QString>
26 # include <QList>
27 
28 class qm_songInfo
29 {
30 public:
31     qm_songInfo();
32     virtual ~qm_songInfo();
33 
34     void reset();
35 
36     bool nosong;// NULL song
37     int songNr; // pos in list
38     int songID; // ID in list
39     int time;
40     int type;
41     QString disc;
42     QString file;
43     QString name;
44     QString artist;
45     QString title;
46     QString album;
47     QString date;
48     QString track;
49     QString genre;
50     QString comment;
51 };
52 
53 typedef QList <qm_songInfo> qm_songinfo;
54 
55 #endif // QM_SONGINFO_H
56