1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Steve Bavin 2007-10-19 15:31:42 +00:00
parent 877ea486ba
commit 32a9575130
22 changed files with 161 additions and 186 deletions

View file

@ -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);