diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2006-12-26 13:31:04 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2006-12-26 13:31:04 +0000 |
commit | be3f29cc11a1d31a4bacee16a8ca2f1a9de2caed (patch) | |
tree | b0f9cebfb3e4215df4d880a0befc6da7c4d04848 /apps/playlist.h | |
parent | 6ee5e3849480ac6a01545f4637052b58b11463d0 (diff) | |
download | rockbox-be3f29cc11a1d31a4bacee16a8ca2f1a9de2caed.tar.gz 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.h | 4 |
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 { | |||
48 | PLAYLIST_INSERT = -2, | 48 | PLAYLIST_INSERT = -2, |
49 | PLAYLIST_INSERT_LAST = -3, | 49 | PLAYLIST_INSERT_LAST = -3, |
50 | PLAYLIST_INSERT_FIRST = -4, | 50 | PLAYLIST_INSERT_FIRST = -4, |
51 | PLAYLIST_INSERT_SHUFFLED = -5 | 51 | PLAYLIST_INSERT_SHUFFLED = -5, |
52 | PLAYLIST_REPLACE = -6 | ||
52 | }; | 53 | }; |
53 | 54 | ||
54 | enum { | 55 | enum { |
@@ -163,5 +164,6 @@ int playlist_save(struct playlist_info* playlist, char *filename); | |||
163 | int playlist_directory_tracksearch(const char* dirname, bool recurse, | 164 | int playlist_directory_tracksearch(const char* dirname, bool recurse, |
164 | int (*callback)(char*, void*), | 165 | int (*callback)(char*, void*), |
165 | void* context); | 166 | void* context); |
167 | int remove_all_tracks(struct playlist_info *playlist); | ||
166 | 168 | ||
167 | #endif /* __PLAYLIST_H__ */ | 169 | #endif /* __PLAYLIST_H__ */ |