diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-09-29 19:35:36 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-09-29 19:35:36 +0200 |
commit | 5fa0da2d9b0edf78097a0d29b1bde3c260a36af4 (patch) | |
tree | 482e126fc249cc7210ecf28a20de8328c44c983c /deadbeef.h | |
parent | e09702f21f6313b0a44fcfcb10ee06dd70364b2f (diff) |
added new APIs for saving current playlist
Diffstat (limited to 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |