diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-07-11 05:41:23 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-07-11 05:41:23 +0000 |
| commit | a5278fa3db2582c49d04507b31bd08405df5adb7 (patch) | |
| tree | 853ffc4e0967b37b808320f99260e56e3ecdfdd4 /apps/plugin.h | |
| parent | 50dc0cabe3bfa3aeee1cba40d1e31c69a073227f (diff) | |
| download | rockbox-a5278fa3db2582c49d04507b31bd08405df5adb7.zip rockbox-a5278fa3db2582c49d04507b31bd08405df5adb7.tar.gz rockbox-a5278fa3db2582c49d04507b31bd08405df5adb7.tar.bz2 rockbox-a5278fa3db2582c49d04507b31bd08405df5adb7.tar.xz | |
Rearrange and cleanup settings code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13851 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 10dce4d..0edbc87 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -115,12 +115,12 @@ #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 61 +#define PLUGIN_API_VERSION 62 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any new function which are "waiting" at the end of the function table) */ -#define PLUGIN_MIN_API_VERSION 61 +#define PLUGIN_MIN_API_VERSION 62 /* plugin return codes */ enum plugin_status { @@ -418,8 +418,6 @@ struct plugin_api { int (*sound_default)(int setting); #endif void (*sound_set)(int setting, int value); - bool (*set_sound)(const unsigned char * string, - int* variable, int setting); int (*sound_min)(int setting); int (*sound_max)(int setting); #ifndef SIMULATOR @@ -509,6 +507,8 @@ struct plugin_api { void (*gui_syncstatusbar_draw)(struct gui_syncstatusbar * bars, bool force_redraw); /* options */ + const struct settings_list* (*find_setting)(void* variable, int *id); + bool (*option_screen)(struct settings_list *setting, bool use_temp_var); bool (*set_option)(const char* string, void* variable, enum optiontype type, const struct opt_items* options, int numoptions, void (*function)(int)); |