summaryrefslogtreecommitdiff
path: root/playlist.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-11-15 22:11:28 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-11-15 22:11:28 +0100
commit4fb5eda9835cc04b669aac128b46471deb48a86e (patch)
tree08e786bd0efc27efc0ae2dc2dea63267c8b98fa1 /playlist.h
parentf54ddc6c74f172d500f0ee4c2ae2648599d3b4c3 (diff)
ported most gtk stuff to plugin api
Diffstat (limited to 'playlist.h')
-rw-r--r--playlist.h16
1 files changed, 14 insertions, 2 deletions
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