diff options
author | waker <wakeroid@gmail.com> | 2011-06-17 20:54:11 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-09-30 20:11:49 +0200 |
commit | 76f14028b56a1cdb6627b0db0e6af0a74a9b76f3 (patch) | |
tree | 84a98518d0186bfe1ebc31687ab89c565bb95adc /deadbeef.h | |
parent | 69f0c63499916d183ca9c8157aee9370687cf248 (diff) |
merge new APIs for 0.5.2 from devel
Diffstat (limited to 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -76,7 +76,7 @@ extern "C" { // 0.1 -- deadbeef-0.2.0 #define DB_API_VERSION_MAJOR 1 -#define DB_API_VERSION_MINOR 1 +#define DB_API_VERSION_MINOR 2 #define DDB_PLUGIN_SET_API_VERSION\ .plugin.api_vmajor = DB_API_VERSION_MAJOR,\ @@ -725,6 +725,17 @@ typedef struct { int (*dsp_preset_load) (const char *fname, struct ddb_dsp_context_s **head); int (*dsp_preset_save) (const char *fname, struct ddb_dsp_context_s *head); void (*dsp_preset_free) (struct ddb_dsp_context_s *head); + + // new 1.2 APIs + ddb_playlist_t *(*plt_alloc) (const char *title); + void (*plt_free) (ddb_playlist_t *plt); + //int (*plt_insert) (ddb_playlist_t *plt, int before); + void (*plt_set_fast_mode) (ddb_playlist_t *plt, int fast); + int (*plt_is_fast_mode) (ddb_playlist_t *plt); + const char * (*metacache_add_string) (const char *str); + void (*metacache_remove_string) (const char *str); + void (*metacache_ref) (const char *str); + void (*metacache_unref) (const char *str); } DB_functions_t; enum { |