diff options
author | Steve Bavin <pondlife@pondlife.me> | 2007-10-19 15:31:42 +0000 |
---|---|---|
committer | Steve Bavin <pondlife@pondlife.me> | 2007-10-19 15:31:42 +0000 |
commit | 32a95751301a4aa5f51ea76b7eb3764d197dd6e3 (patch) | |
tree | 860d5e0c767cc53d038bb72ff19c237215dd3eee /apps/plugin.h | |
parent | 877ea486bad40bde6f8b969acc8af50f244884c0 (diff) | |
download | rockbox-32a95751301a4aa5f51ea76b7eb3764d197dd6e3.tar.gz rockbox-32a95751301a4aa5f51ea76b7eb3764d197dd6e3.zip |
FS#7994 - Rename talk.c API, make talk_disable() affect all talking (not just menus), hopefully save some space.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15206 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index e36c99c5fd..ee58687bf0 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -112,12 +112,12 @@ | |||
112 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 112 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
113 | 113 | ||
114 | /* increase this every time the api struct changes */ | 114 | /* increase this every time the api struct changes */ |
115 | #define PLUGIN_API_VERSION 83 | 115 | #define PLUGIN_API_VERSION 84 |
116 | 116 | ||
117 | /* update this to latest version if a change to the api struct breaks | 117 | /* update this to latest version if a change to the api struct breaks |
118 | backwards compatibility (and please take the opportunity to sort in any | 118 | backwards compatibility (and please take the opportunity to sort in any |
119 | new function which are "waiting" at the end of the function table) */ | 119 | new function which are "waiting" at the end of the function table) */ |
120 | #define PLUGIN_MIN_API_VERSION 83 | 120 | #define PLUGIN_MIN_API_VERSION 84 |
121 | 121 | ||
122 | /* plugin return codes */ | 122 | /* plugin return codes */ |
123 | enum plugin_status { | 123 | enum plugin_status { |
@@ -579,8 +579,7 @@ struct plugin_api { | |||
579 | #endif | 579 | #endif |
580 | struct user_settings* global_settings; | 580 | struct user_settings* global_settings; |
581 | struct system_status *global_status; | 581 | struct system_status *global_status; |
582 | void (*talk_disable_menus)(void); | 582 | void (*talk_disable)(bool disable); |
583 | void (*talk_enable_menus)(void); | ||
584 | #if CONFIG_CODEC == SWCODEC | 583 | #if CONFIG_CODEC == SWCODEC |
585 | int (*codec_load_file)(const char* codec, struct codec_api *api); | 584 | int (*codec_load_file)(const char* codec, struct codec_api *api); |
586 | const char *(*get_codec_filename)(int cod_spec); | 585 | const char *(*get_codec_filename)(int cod_spec); |