Sayonara Player
ColumnIndex.h
1/* ColumnIndex.h */
2
3/* Copyright (C) 2011-2020 Michael Lugmair (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
29class QString;
30
31namespace ColumnIndex
32{
33 using IntegerType = uint8_t;
34
35 enum class Album : IntegerType
36 {
37 MultiDisc = 0,
38 Name,
39 Duration,
40 //AlbumArtist,
41 NumSongs,
42 Year,
43 Rating,
44 Count
45 };
46
47 enum class Artist : IntegerType
48 {
49 //Undefined=0,
50 Name = 0,
51 Tracks,
52 Count
53 };
54
55 enum class Track : IntegerType
56 {
57 TrackNumber = 0,
58 Title,
59 Artist,
60 Album,
61 Discnumber,
62 Year,
63 Length,
64 Bitrate,
65 Filesize,
66 Filetype,
67 AddedDate,
68 ModifiedDate,
69 Rating,
70 Count
71 };
72}
73
74#endif // LIBRARYVIEWCOLUMNS_H
Definition: Album.h:37
Definition: Artist.h:34