From be3f29cc11a1d31a4bacee16a8ca2f1a9de2caed Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 26 Dec 2006 13:31:04 +0000 Subject: Accept FS#6464 by Chris Taylor. Adds a "Play Next" playlist insertion option which replaces the current playlist with the new selection but keeps the current track queued so playback doesnt stop. (minor fixes by me) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11842 a1c6a512-1295-4272-9138-f99709370657 --- apps/playlist.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/playlist.h') diff --git a/apps/playlist.h b/apps/playlist.h index 3270bc55fa..af9a09523f 100644 --- a/apps/playlist.h +++ b/apps/playlist.h @@ -48,7 +48,8 @@ enum { PLAYLIST_INSERT = -2, PLAYLIST_INSERT_LAST = -3, PLAYLIST_INSERT_FIRST = -4, - PLAYLIST_INSERT_SHUFFLED = -5 + PLAYLIST_INSERT_SHUFFLED = -5, + PLAYLIST_REPLACE = -6 }; enum { @@ -163,5 +164,6 @@ int playlist_save(struct playlist_info* playlist, char *filename); int playlist_directory_tracksearch(const char* dirname, bool recurse, int (*callback)(char*, void*), void* context); +int remove_all_tracks(struct playlist_info *playlist); #endif /* __PLAYLIST_H__ */ -- cgit v1.2.3