From 32a95751301a4aa5f51ea76b7eb3764d197dd6e3 Mon Sep 17 00:00:00 2001 From: Steve Bavin Date: Fri, 19 Oct 2007 15:31:42 +0000 Subject: 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 --- apps/plugin.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'apps/plugin.h') 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); -- cgit