summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-11-15 13:08:21 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-11-15 13:08:21 +0100
commit5c2b089be764990d6947e142223b12647ca40fa9 (patch)
tree5d9bc7370cbd5aabedcd8faee6b63b664035a00c /deadbeef.h
parent55f8c64a00144aae19270d1b21cd2ce25d9a0dba (diff)
gtkui plugin WIP
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 34becc72..8154eac0 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -241,7 +241,13 @@ typedef struct {
void (*pl_item_copy) (DB_playItem_t *out, DB_playItem_t *in);
DB_playItem_t *(*pl_insert_item) (DB_playItem_t *after, DB_playItem_t *it);
int (*pl_get_idx_of) (DB_playItem_t *it);
+ DB_playItem_t * (*pl_get_for_idx) (int);
float (*pl_get_totaltime) (void);
+ int (*pl_getcount) (void);
+ DB_playItem_t *(*pl_getcurrent) (void);
+ int (*pl_delete_selected) (void);
+ void (*pl_set_cursor) (int cursor);
+ void (*pl_set_selected) (DB_playItem_t *it, int sel);
// metainfo
void (*pl_add_meta) (DB_playItem_t *it, const char *key, const char *value);
const char *(*pl_find_meta) (DB_playItem_t *song, const char *meta);