From 4fb5eda9835cc04b669aac128b46471deb48a86e Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sun, 15 Nov 2009 22:11:28 +0100 Subject: ported most gtk stuff to plugin api --- playlist.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'playlist.h') diff --git a/playlist.h b/playlist.h index 5b0a987f..d7b3790c 100644 --- a/playlist.h +++ b/playlist.h @@ -103,6 +103,9 @@ pl_getselcount (void); playItem_t * pl_get_for_idx (int idx); +playItem_t * +pl_get_for_idx_and_iter (int idx, int iter); + int pl_get_idx_of (playItem_t *it); @@ -188,9 +191,18 @@ playItem_t * pl_get_first (int iter); playItem_t * -pl_get_next (DB_playItem_t *it, int iter); +pl_get_last (int iter); + +playItem_t * +pl_get_next (playItem_t *it, int iter); playItem_t * -pl_get_prev (DB_playItem_t *it, int iter); +pl_get_prev (playItem_t *it, int iter); + +int +pl_get_cursor (int iter); + +void +pl_set_cursor (int iter, int cursor); #endif // __PLAYLIST_H -- cgit v1.2.3