Sayonara Player
ColumnIndex.h
1 /* ColumnIndex.h */
2 
3 /* Copyright (C) 2011-2017 Lucio Carreras
4  *
5  * This file is part of sayonara player
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11 
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16 
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  */
20 
21 #ifndef LIBRARYVIEWCOLUMNS_H
22 #define LIBRARYVIEWCOLUMNS_H
23 
24 #define COL_ALBUM_MACROS
25 #define COL_ARTIST_MACROS
26 
27 namespace ColumnIndex
28 {
29  enum class Album : quint8
30  {
31  MultiDisc=0,
32  Name=1,
33  Duration=2,
34  NumSongs=3,
35  Year=4,
36  Rating=5
37  };
38 
39  enum class Artist : quint8
40  {
41  NumAlbums=0,
42  Name=1,
43  Tracks=2
44  };
45 
46  enum class Track : quint8
47  {
48  TrackNumber=0,
49  Title,
50  Artist,
51  Album,
52  Discnumber,
53  Year,
54  Length,
55  Bitrate,
56  Filesize,
57  Rating
58  };
59 }
60 
61 #endif // LIBRARYVIEWCOLUMNS_H
The Album class.
Definition: Album.h:38
Name
The EngineName enum.
Definition: AbstractEngine.h:39
The Artist class.
Definition: Artist.h:35