From 451f6788cea2f7a90badcf2fb7e1e3679fa513cb Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 2 Jul 2013 13:17:50 +0200 Subject: command: add some playlist manipulation commands playlist_remove and playlist_move. --- core/playlist.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/playlist.h') diff --git a/core/playlist.h b/core/playlist.h index 3e34390707..f01d4b8ddd 100644 --- a/core/playlist.h +++ b/core/playlist.h @@ -58,6 +58,9 @@ void playlist_add(struct playlist *pl, struct playlist_entry *add); void playlist_remove(struct playlist *pl, struct playlist_entry *entry); void playlist_clear(struct playlist *pl); +void playlist_move(struct playlist *pl, struct playlist_entry *entry, + struct playlist_entry *at); + void playlist_add_file(struct playlist *pl, const char *filename); void playlist_shuffle(struct playlist *pl); struct playlist_entry *playlist_get_next(struct playlist *pl, int direction); -- cgit v1.2.3