summaryrefslogtreecommitdiffstats
path: root/apps/playlist.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-12-26 13:31:04 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-12-26 13:31:04 +0000
commitbe3f29cc11a1d31a4bacee16a8ca2f1a9de2caed (patch)
treeb0f9cebfb3e4215df4d880a0befc6da7c4d04848 /apps/playlist.h
parent6ee5e3849480ac6a01545f4637052b58b11463d0 (diff)
downloadrockbox-be3f29cc11a1d31a4bacee16a8ca2f1a9de2caed.tar.gz
rockbox-be3f29cc11a1d31a4bacee16a8ca2f1a9de2caed.tar.bz2
rockbox-be3f29cc11a1d31a4bacee16a8ca2f1a9de2caed.zip
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
Diffstat (limited to 'apps/playlist.h')
-rw-r--r--apps/playlist.h4
1 files changed, 3 insertions, 1 deletions
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__ */