summaryrefslogtreecommitdiff
path: root/plugins.c
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 /plugins.c
parent55f8c64a00144aae19270d1b21cd2ce25d9a0dba (diff)
gtkui plugin WIP
Diffstat (limited to 'plugins.c')
-rw-r--r--plugins.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins.c b/plugins.c
index 5ceecd39..5dcbbfe5 100644
--- a/plugins.c
+++ b/plugins.c
@@ -89,9 +89,15 @@ static DB_functions_t deadbeef_api = {
.pl_item_copy = (void (*)(DB_playItem_t *, DB_playItem_t *))pl_item_copy,
.pl_insert_item = (DB_playItem_t *(*) (DB_playItem_t *after, DB_playItem_t *it))pl_insert_item,
.pl_get_idx_of = (int (*) (DB_playItem_t *it))pl_get_idx_of,
+ .pl_get_for_idx = (DB_playItem_t * (*)(int))pl_get_for_idx,
.pl_set_item_duration = (void (*) (DB_playItem_t *it, float duration))pl_set_item_duration,
.pl_get_item_duration = (float (*) (DB_playItem_t *it))pl_get_item_duration,
.pl_get_totaltime = pl_get_totaltime,
+ .pl_getcount = pl_getcount,
+ .pl_getcurrent = (DB_playItem_t *(*)(void))pl_getcurrent,
+ .pl_delete_selected = pl_delete_selected,
+ .pl_set_cursor = pl_set_cursor,
+ .pl_set_selected = (void (*) (DB_playItem_t *, int))pl_set_selected,
// metainfo
.pl_add_meta = (void (*) (DB_playItem_t *, const char *, const char *))pl_add_meta,
.pl_find_meta = (const char *(*) (DB_playItem_t *, const char *))pl_find_meta,