diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-07-23 05:40:45 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-07-23 05:40:45 +0000 |
| commit | fe2b376060cfedb2d53b6025fcdef9cdd8604733 (patch) | |
| tree | c13a789bac4c522757f0ccf245b524a1d76f8566 /apps/plugin.h | |
| parent | 8584a6bb5d8520b603b89d3fec8ffd13e399143c (diff) | |
| download | rockbox-fe2b376060cfedb2d53b6025fcdef9cdd8604733.zip rockbox-fe2b376060cfedb2d53b6025fcdef9cdd8604733.tar.gz rockbox-fe2b376060cfedb2d53b6025fcdef9cdd8604733.tar.bz2 rockbox-fe2b376060cfedb2d53b6025fcdef9cdd8604733.tar.xz | |
Fix the text for settings which have a different title than what is shown in the menu (i.e scroll options)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13962 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index db520c3..9adefc1 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -112,12 +112,12 @@ #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 64 +#define PLUGIN_API_VERSION 65 /* 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 64 +#define PLUGIN_MIN_API_VERSION 65 /* plugin return codes */ enum plugin_status { @@ -499,7 +499,8 @@ struct plugin_api { /* options */ const struct settings_list* (*find_setting)(void* variable, int *id); - bool (*option_screen)(struct settings_list *setting, bool use_temp_var); + bool (*option_screen)(struct settings_list *setting, + bool use_temp_var, unsigned char* option_title); bool (*set_option)(const char* string, void* variable, enum optiontype type, const struct opt_items* options, int numoptions, void (*function)(int)); |