From 49952325c9d4a74225b3099eb61860bf4592022c Mon Sep 17 00:00:00 2001 From: Martin Scarratt Date: Sun, 15 Apr 2007 13:56:21 +0000 Subject: Recording countdown timer and repeat timer - see FS #6297 for more details git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13165 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/settings.h') diff --git a/apps/settings.h b/apps/settings.h index 33dfb8546a..9b1124dbae 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -247,6 +247,12 @@ struct opt_items { unsigned const char* string; long voice_id; }; + +struct opt_settings { + int* setting; + int setting_max; +}; + const struct settings_list* find_setting(void* variable, int *id); bool cfg_int_to_string(int setting_id, int val, char* buf, int buf_len); void talk_setting(void *global_settings_variable); @@ -264,6 +270,9 @@ bool set_int(const unsigned char* string, const char* unit, int voice_unit, int* variable, void (*function)(int), int step, int min, int max, void (*formatter)(char*, int, int, const char*) ); +bool set_multi_int(const char* string, const struct opt_items * names, + struct opt_settings * variable, int varcount, + bool * changes_accepted); /* use this one if you need to create a lang from the value (i.e with TALK_ID()) */ bool set_int_ex(const unsigned char* string, const char* unit, int voice_unit, int* variable, -- cgit v1.2.3