summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 10dce4dce6..0edbc87e37 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -115,12 +115,12 @@
115#define PLUGIN_MAGIC 0x526F634B /* RocK */ 115#define PLUGIN_MAGIC 0x526F634B /* RocK */
116 116
117/* increase this every time the api struct changes */ 117/* increase this every time the api struct changes */
118#define PLUGIN_API_VERSION 61 118#define PLUGIN_API_VERSION 62
119 119
120/* update this to latest version if a change to the api struct breaks 120/* update this to latest version if a change to the api struct breaks
121 backwards compatibility (and please take the opportunity to sort in any 121 backwards compatibility (and please take the opportunity to sort in any
122 new function which are "waiting" at the end of the function table) */ 122 new function which are "waiting" at the end of the function table) */
123#define PLUGIN_MIN_API_VERSION 61 123#define PLUGIN_MIN_API_VERSION 62
124 124
125/* plugin return codes */ 125/* plugin return codes */
126enum plugin_status { 126enum plugin_status {
@@ -418,8 +418,6 @@ struct plugin_api {
418 int (*sound_default)(int setting); 418 int (*sound_default)(int setting);
419#endif 419#endif
420 void (*sound_set)(int setting, int value); 420 void (*sound_set)(int setting, int value);
421 bool (*set_sound)(const unsigned char * string,
422 int* variable, int setting);
423 int (*sound_min)(int setting); 421 int (*sound_min)(int setting);
424 int (*sound_max)(int setting); 422 int (*sound_max)(int setting);
425#ifndef SIMULATOR 423#ifndef SIMULATOR
@@ -509,6 +507,8 @@ struct plugin_api {
509 void (*gui_syncstatusbar_draw)(struct gui_syncstatusbar * bars, bool force_redraw); 507 void (*gui_syncstatusbar_draw)(struct gui_syncstatusbar * bars, bool force_redraw);
510 508
511 /* options */ 509 /* options */
510 const struct settings_list* (*find_setting)(void* variable, int *id);
511 bool (*option_screen)(struct settings_list *setting, bool use_temp_var);
512 bool (*set_option)(const char* string, void* variable, 512 bool (*set_option)(const char* string, void* variable,
513 enum optiontype type, const struct opt_items* options, 513 enum optiontype type, const struct opt_items* options,
514 int numoptions, void (*function)(int)); 514 int numoptions, void (*function)(int));