summaryrefslogtreecommitdiffstats
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2007-10-19 15:31:42 +0000
committerSteve Bavin <pondlife@pondlife.me>2007-10-19 15:31:42 +0000
commit32a95751301a4aa5f51ea76b7eb3764d197dd6e3 (patch)
tree860d5e0c767cc53d038bb72ff19c237215dd3eee /apps/plugin.h
parent877ea486bad40bde6f8b969acc8af50f244884c0 (diff)
downloadrockbox-32a95751301a4aa5f51ea76b7eb3764d197dd6e3.tar.gz
rockbox-32a95751301a4aa5f51ea76b7eb3764d197dd6e3.tar.bz2
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.h7
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 @@
#define PLUGIN_MAGIC 0x526F634B /* RocK */
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 83
+#define PLUGIN_API_VERSION 84
/* 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 83
+#define PLUGIN_MIN_API_VERSION 84
/* plugin return codes */
enum plugin_status {
@@ -579,8 +579,7 @@ struct plugin_api {
#endif
struct user_settings* global_settings;
struct system_status *global_status;
- void (*talk_disable_menus)(void);
- void (*talk_enable_menus)(void);
+ void (*talk_disable)(bool disable);
#if CONFIG_CODEC == SWCODEC
int (*codec_load_file)(const char* codec, struct codec_api *api);
const char *(*get_codec_filename)(int cod_spec);