summaryrefslogtreecommitdiff
path: root/plugins.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-06 19:17:33 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-06 19:17:33 +0100
commited61ec21a21378e55dcfa87c04b2a6823e74e67f (patch)
treec93eaff831f62c0b68df2cee89d22afb84b018b9 /plugins.c
parent59432e8dfe30ee32829e5c005aa05e9cba542e7d (diff)
column sorting
Diffstat (limited to 'plugins.c')
-rw-r--r--plugins.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins.c b/plugins.c
index 5c3e6fb4..6f91d140 100644
--- a/plugins.c
+++ b/plugins.c
@@ -100,6 +100,7 @@ static DB_functions_t deadbeef_api = {
.pl_get_for_idx_and_iter = (DB_playItem_t * (*) (int idx, int iter))pl_get_for_idx_and_iter,
.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_sort = pl_sort,
.pl_get_totaltime = pl_get_totaltime,
.pl_getcount = pl_getcount,
.pl_getcurrent = (DB_playItem_t *(*)(void))pl_getcurrent,
@@ -118,7 +119,7 @@ static DB_functions_t deadbeef_api = {
.pl_get_last = (DB_playItem_t *(*) (int))pl_get_last,
.pl_get_next = (DB_playItem_t *(*) (DB_playItem_t *, int))pl_get_next,
.pl_get_prev = (DB_playItem_t *(*) (DB_playItem_t *, int))pl_get_prev,
- .pl_format_title = (int (*) (DB_playItem_t *it, char *s, int size, const char *fmt))pl_format_title,
+ .pl_format_title = (int (*) (DB_playItem_t *it, char *s, int size, int id, const char *fmt))pl_format_title,
.pl_format_item_display_name = (void (*) (DB_playItem_t *it, char *str, int len))pl_format_item_display_name,
.pl_move_items = (void (*) (int iter, DB_playItem_t *drop_before, uint32_t *indexes, int count))pl_move_items,
.pl_process_search = pl_process_search,