Switch to unified view
a/HelperStructs/globals.h | b/HelperStructs/globals.h | ||
---|---|---|---|
... |
... |
||
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | */ |
17 | */ |
18 | #ifndef GLOBALS_H_ |
18 | #ifndef GLOBALS_H_ |
19 | #define GLOBALS_H_ |
19 | #define GLOBALS_H_ |
20 | 20 | ||
21 | #include <QString> |
||
22 | |||
23 | #ifndef PREFIX |
21 | #ifndef PREFIX |
24 | #define PREFIX "/usr" |
22 | #define PREFIX "/usr" |
25 | #endif |
23 | #endif |
26 | 24 | ||
27 | enum AudioState { |
25 | enum AudioState { |
... |
... |
||
29 | AUDIO_STOPPED, |
27 | AUDIO_STOPPED, |
30 | AUDIO_PLAYING, |
28 | AUDIO_PLAYING, |
31 | AUDIO_PAUSED |
29 | AUDIO_PAUSED |
32 | }; |
30 | }; |
33 | 31 | ||
34 | #define DARK_BLUE(x) QString("<font color=#0000FF>") + x + QString("</font>") |
||
35 | #define LIGHT_BLUE(x) QString("<font color=#8888FF>") + x + QString("</font>") |
||
36 | |||
37 | #define PLUGIN_NUM 5 |
||
38 | #define PLUGIN_NONE 0 |
||
39 | #define PLUGIN_LFM_RADIO 1 |
||
40 | #define PLUGIN_STREAM 2 |
||
41 | #define PLUGIN_PODCASTS 3 |
||
42 | #define PLUGIN_EQUALIZER 4 |
||
43 | #define PLUGIN_PLAYLIST_CHOOSER 5 |
||
44 | #define PLUGIN_LEVEL 6 |
||
45 | |||
46 | namespace Sort { |
||
47 | enum SortOrder { |
||
48 | NoSorting=0, |
||
49 | ArtistNameAsc, |
||
50 | ArtistNameDesc, |
||
51 | ArtistTrackcountAsc, |
||
52 | ArtistTrackcountDesc, |
||
53 | AlbumNameAsc, |
||
54 | AlbumNameDesc, |
||
55 | AlbumYearAsc, |
||
56 | AlbumYearDesc, |
||
57 | AlbumTracksAsc, |
||
58 | AlbumTracksDesc, |
||
59 | AlbumDurationAsc, |
||
60 | AlbumDurationDesc, |
||
61 | TrackNumAsc, |
||
62 | TrackNumDesc, |
||
63 | TrackTitleAsc, |
||
64 | TrackTitleDesc, |
||
65 | TrackAlbumAsc, |
||
66 | TrackAlbumDesc, |
||
67 | TrackArtistAsc, |
||
68 | TrackArtistDesc, |
||
69 | TrackYearAsc, |
||
70 | TrackYearDesc, |
||
71 | TrackLenghtAsc, |
||
72 | TrackLengthDesc, |
||
73 | TrackBitrateAsc, |
||
74 | TrackBitrateDesc, |
||
75 | TrackSizeAsc, |
||
76 | TrackSizeDesc, |
||
77 | TrackDiscnumberAsc, |
||
78 | TrackDiscnumberDesc |
||
79 | }; |
||
80 | }; |
||
81 | |||
82 | #endif /* GLOBALS_H_ */ |
32 | #endif /* GLOBALS_H_ */ |