Sayonara Player
Sortorder.h
1 /* Sortorder.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 SORTORDER_H_
22 #define SORTORDER_H_
23 
24 namespace Library
25 {
31  enum class SortOrder : unsigned char
32  {
33  NoSorting=0,
34  ArtistNameAsc,
35  ArtistNameDesc,
36  ArtistTrackcountAsc,
37  ArtistTrackcountDesc,
38  AlbumNameAsc,
39  AlbumNameDesc,
40  AlbumYearAsc,
41  AlbumYearDesc,
42  AlbumTracksAsc,
43  AlbumTracksDesc,
44  AlbumDurationAsc,
45  AlbumDurationDesc,
46  AlbumRatingAsc,
47  AlbumRatingDesc,
48  TrackNumAsc,
49  TrackNumDesc,
50  TrackTitleAsc,
51  TrackTitleDesc,
52  TrackAlbumAsc,
53  TrackAlbumDesc,
54  TrackArtistAsc,
55  TrackArtistDesc,
56  TrackAlbumArtistAsc,
57  TrackAlbumArtistDesc,
58  TrackYearAsc,
59  TrackYearDesc,
60  TrackLenghtAsc,
61  TrackLengthDesc,
62  TrackBitrateAsc,
63  TrackBitrateDesc,
64  TrackSizeAsc,
65  TrackSizeDesc,
66  TrackDiscnumberAsc,
67  TrackDiscnumberDesc,
68  TrackRatingAsc,
69  TrackRatingDesc,
70  TrackFiletypeAsc,
71  TrackFiletypeDesc,
72  TrackDateModifiedAsc,
73  TrackDateModifiedDesc,
74  TrackDateAddedAsc,
75  TrackDateAddedDesc
76  };
77 }
78 
79 #endif
Library
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:31
Library::SortOrder
SortOrder
The SortOrder enum.
Definition: Sortorder.h:32