diff options
author | Romain Bignon <romain@peerfuse.org> | 2009-03-30 00:01:02 +0200 |
---|---|---|
committer | Romain Bignon <romain@peerfuse.org> | 2009-03-30 17:37:55 +0200 |
commit | e81f683a1805871fa671485dc2a6327763ef1cf0 (patch) | |
tree | b2fe3b82caf9b77dcabf2b475d10f34d20445a69 /src/playlist.h | |
parent | 7d9380fd913355b70f846a4adc263363d12813ba (diff) | |
download | mpd-e81f683a1805871fa671485dc2a6327763ef1cf0.tar.gz mpd-e81f683a1805871fa671485dc2a6327763ef1cf0.tar.xz mpd-e81f683a1805871fa671485dc2a6327763ef1cf0.zip |
implemented the 'consume' mode
Consume mode removes each song played
Diffstat (limited to 'src/playlist.h')
-rw-r--r-- | src/playlist.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/playlist.h b/src/playlist.h index 17862b335..4237cea98 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -184,6 +184,11 @@ getPlaylistSingleStatus(const struct playlist *playlist); void setPlaylistSingleStatus(struct playlist *playlist, bool status); +bool +getPlaylistConsumeStatus(const struct playlist *playlist); + +void setPlaylistConsumeStatus(struct playlist *playlist, bool status); + int getPlaylistCurrentSong(const struct playlist *playlist); int getPlaylistNextSong(const struct playlist *playlist); |