diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index db16800309..f3d4c23e8a 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -128,12 +128,12 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
128 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 128 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
129 | 129 | ||
130 | /* increase this every time the api struct changes */ | 130 | /* increase this every time the api struct changes */ |
131 | #define PLUGIN_API_VERSION 158 | 131 | #define PLUGIN_API_VERSION 159 |
132 | 132 | ||
133 | /* update this to latest version if a change to the api struct breaks | 133 | /* update this to latest version if a change to the api struct breaks |
134 | backwards compatibility (and please take the opportunity to sort in any | 134 | backwards compatibility (and please take the opportunity to sort in any |
135 | new function which are "waiting" at the end of the function table) */ | 135 | new function which are "waiting" at the end of the function table) */ |
136 | #define PLUGIN_MIN_API_VERSION 157 | 136 | #define PLUGIN_MIN_API_VERSION 159 |
137 | 137 | ||
138 | /* plugin return codes */ | 138 | /* plugin return codes */ |
139 | enum plugin_status { | 139 | enum plugin_status { |
@@ -595,6 +595,9 @@ struct plugin_api { | |||
595 | int (*playlist_create)(const char *dir, const char *file); | 595 | int (*playlist_create)(const char *dir, const char *file); |
596 | int (*playlist_insert_track)(struct playlist_info* playlist, | 596 | int (*playlist_insert_track)(struct playlist_info* playlist, |
597 | const char *filename, int position, bool queue, bool sync); | 597 | const char *filename, int position, bool queue, bool sync); |
598 | int (*playlist_insert_directory)(struct playlist_info* playlist, | ||
599 | const char *dirname, int position, bool queue, | ||
600 | bool recurse); | ||
598 | int (*playlist_shuffle)(int random_seed, int start_index); | 601 | int (*playlist_shuffle)(int random_seed, int start_index); |
599 | void (*audio_play)(long offset); | 602 | void (*audio_play)(long offset); |
600 | void (*audio_stop)(void); | 603 | void (*audio_stop)(void); |
@@ -821,9 +824,6 @@ struct plugin_api { | |||
821 | const char *appsversion; | 824 | const char *appsversion; |
822 | /* new stuff at the end, sort into place next time | 825 | /* new stuff at the end, sort into place next time |
823 | the API gets incompatible */ | 826 | the API gets incompatible */ |
824 | int (*playlist_insert_directory)(struct playlist_info* playlist, | ||
825 | const char *dirname, int position, bool queue, | ||
826 | bool recurse); | ||
827 | }; | 827 | }; |
828 | 828 | ||
829 | /* plugin header */ | 829 | /* plugin header */ |