diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-20 16:21:56 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-20 16:21:56 +0100 |
commit | 247316a2d2625302f9d8c319d0f256f7a9ccdc87 (patch) | |
tree | 2d50093141d2d65d18fd95422c39465bd46437a8 /playlist.h | |
parent | 535e367b936a1dd9c191e49bbb63adc79116cd79 (diff) |
playqueue support functions
Diffstat (limited to 'playlist.h')
-rw-r--r-- | playlist.h | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -58,9 +58,6 @@ extern playItem_t *playlist_tail[PL_MAX_ITERATORS]; // tail of linked list extern int playlist_current_row[PL_MAX_ITERATORS]; // current row (cursor) extern playItem_t *playlist_current_ptr; // pointer to a real current playlist item (or NULL) -extern int pl_count; -extern float pl_totaltime; - int pl_add_dir (const char *dirname, int (*cb)(playItem_t *it, void *data), void *user_data); @@ -214,4 +211,17 @@ pl_process_search (const char *text); void pl_sort (int iter, int id, const char *format, int ascending); +// playqueue support functions +int +pl_playqueue_push (playItem_t *it); + +void +pl_playqueue_clear (void); + +void +pl_playqueue_pop (void); + +void +pl_playqueue_remove (playItem_t *it); + #endif // __PLAYLIST_H |