Sayonara Player
ColumnIndex.h
1 /* ColumnIndex.h */
2 
3 /* Copyright (C) 2011-2019 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 #include <cstdint>
28 
29 namespace ColumnIndex
30 {
31  enum class Album : uint8_t
32  {
33  MultiDisc=0,
34  Name=1,
35  Duration=2,
36  NumSongs=3,
37  Year=4,
38  Rating=5
39  };
40 
41  enum class Artist : uint8_t
42  {
43  Name=0,
44  Tracks=1
45  };
46 
47  enum class Track : uint8_t
48  {
49  TrackNumber=0,
50  Title,
51  Artist,
52  Album,
53  Discnumber,
54  Year,
55  Length,
56  Bitrate,
57  Filesize,
58  Rating
59  };
60 }
61 
62 #endif // LIBRARYVIEWCOLUMNS_H
The Album class.
Definition: Album.h:39
The Artist class.
Definition: Artist.h:36