summaryrefslogtreecommitdiff
path: root/playlist.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-02-26 16:11:31 +0100
committerGravatar waker <wakeroid@gmail.com>2011-02-26 16:11:31 +0100
commit3a30d396a8b437d12fe8ad48a6c0cc30e27acf7e (patch)
tree93eccdb31b98b35592541314c136d9030d367c29 /playlist.h
parent54382e4b68e571e12905aa49048e9e80d0b6ef83 (diff)
fixed playlist corruption while adding files if cursor jumps to another playlist
Diffstat (limited to 'playlist.h')
-rw-r--r--playlist.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/playlist.h b/playlist.h
index ed775da8..03692ae0 100644
--- a/playlist.h
+++ b/playlist.h
@@ -148,7 +148,7 @@ int
pl_add_file (const char *fname, int (*cb)(playItem_t *it, void *data), void *user_data);
void
-pl_add_files_begin (void);
+pl_add_files_begin (int plt);
void
pl_add_files_end (void);
@@ -162,6 +162,9 @@ pl_insert_file (playItem_t *after, const char *fname, int *pabort, int (*cb)(pla
playItem_t *
pl_insert_item (playItem_t *after, playItem_t *it);
+playItem_t *
+plt_insert_item (playlist_t *playlist, playItem_t *after, playItem_t *it);
+
int
pl_remove_item (playItem_t *i);