summaryrefslogtreecommitdiff
path: root/playlist.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-08 14:40:50 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-08 14:40:50 +0200
commit65fa3ad73a984a9761afc36e31e33804cc471025 (patch)
treedcf94eb0502c2be15589cdf2cba12f2c646f072c /playlist.h
parentebce9029317b1a9cc793728eefc8f844de184876 (diff)
playlist order and looping mode + GUI
Diffstat (limited to 'playlist.h')
-rw-r--r--playlist.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/playlist.h b/playlist.h
index d59c87a1..1313a23e 100644
--- a/playlist.h
+++ b/playlist.h
@@ -74,8 +74,9 @@ int
ps_set_current (playItem_t *it);
// returns -1 if theres no next song, or playlist finished
+// reason 0 means "song finished", 1 means "user clicked next"
int
-ps_nextsong (void);
+ps_nextsong (int reason);
int
ps_prevsong (void);
@@ -103,4 +104,10 @@ ps_delete_selected (void);
void
ps_shuffle (void);
+void
+ps_set_order (int order);
+
+void
+ps_set_loop_mode (int mode);
+
#endif // __PLAYLIST_H