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