summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-09-29 19:35:36 +0200
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-09-29 19:35:36 +0200
commit5fa0da2d9b0edf78097a0d29b1bde3c260a36af4 (patch)
tree482e126fc249cc7210ecf28a20de8328c44c983c /deadbeef.h
parente09702f21f6313b0a44fcfcb10ee06dd70364b2f (diff)
added new APIs for saving current playlist
Diffstat (limited to 'deadbeef.h')
-rw-r--r--deadbeef.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 3a0d754b..adc7ea34 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -813,6 +813,13 @@ typedef struct {
void (*background_job_increment) (void);
void (*background_job_decrement) (void);
int (*have_background_jobs) (void);
+
+ // utility function to get plt idx from handle
+ int (*plt_get_idx) (ddb_playlist_t *plt);
+
+ // save referenced playlist in config
+ int (*plt_save_n) (int n);
+ int (*plt_save_config) (ddb_playlist_t *plt);
} DB_functions_t;
// NOTE: an item placement must be selected like this