21 #ifndef PLAYLISTMODE_H_ 22 #define PLAYLISTMODE_H_ 49 Playlist::Mode::State set_state(
bool active,
bool enabled);
52 Playlist::Mode::State rep1()
const;
53 Playlist::Mode::State repAll()
const;
54 Playlist::Mode::State append()
const;
55 Playlist::Mode::State shuffle()
const;
56 Playlist::Mode::State dynamic()
const;
57 Playlist::Mode::State gapless()
const;
59 void setRep1(Playlist::Mode::State state);
60 void setRepAll(Playlist::Mode::State state);
61 void setAppend(Playlist::Mode::State state);
62 void setShuffle(Playlist::Mode::State state);
63 void setDynamic(Playlist::Mode::State state);
64 void setGapless(Playlist::Mode::State state);
66 void setRep1(
bool on,
bool enabled=
true);
67 void setRepAll(
bool on,
bool enabled=
true);
68 void setAppend(
bool on,
bool enabled=
true);
69 void setShuffle(
bool on,
bool enabled=
true);
70 void setDynamic(
bool on,
bool enabled=
true);
71 void setGapless(
bool on,
bool enabled=
true);
73 static bool isActive(Playlist::Mode::State pl);
74 static bool isEnabled(Playlist::Mode::State pl);
75 static bool isActiveAndEnabled(Playlist::Mode::State pl);
82 QString toString()
const;
The Mode class.
Definition: PlaylistMode.h:31
Definition: PlaylistFwd.h:47