From 5fa0da2d9b0edf78097a0d29b1bde3c260a36af4 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sun, 29 Sep 2013 19:35:36 +0200 Subject: added new APIs for saving current playlist --- deadbeef.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'deadbeef.h') 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 -- cgit v1.2.3