diff options
author | Martin Scarratt <mmmm@rockbox.org> | 2007-04-15 13:56:21 +0000 |
---|---|---|
committer | Martin Scarratt <mmmm@rockbox.org> | 2007-04-15 13:56:21 +0000 |
commit | 49952325c9d4a74225b3099eb61860bf4592022c (patch) | |
tree | 70302ab68faf2d231ee491c201dcc47736f852b4 /apps/settings.h | |
parent | 3c6e46ce64297697bbd6c713da3d0ba7856d6ea9 (diff) | |
download | rockbox-49952325c9d4a74225b3099eb61860bf4592022c.tar.gz rockbox-49952325c9d4a74225b3099eb61860bf4592022c.zip |
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
Diffstat (limited to 'apps/settings.h')
-rw-r--r-- | apps/settings.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 { | |||
247 | unsigned const char* string; | 247 | unsigned const char* string; |
248 | long voice_id; | 248 | long voice_id; |
249 | }; | 249 | }; |
250 | |||
251 | struct opt_settings { | ||
252 | int* setting; | ||
253 | int setting_max; | ||
254 | }; | ||
255 | |||
250 | const struct settings_list* find_setting(void* variable, int *id); | 256 | const struct settings_list* find_setting(void* variable, int *id); |
251 | bool cfg_int_to_string(int setting_id, int val, char* buf, int buf_len); | 257 | bool cfg_int_to_string(int setting_id, int val, char* buf, int buf_len); |
252 | void talk_setting(void *global_settings_variable); | 258 | void talk_setting(void *global_settings_variable); |
@@ -264,6 +270,9 @@ bool set_int(const unsigned char* string, const char* unit, int voice_unit, | |||
264 | int* variable, | 270 | int* variable, |
265 | void (*function)(int), int step, int min, int max, | 271 | void (*function)(int), int step, int min, int max, |
266 | void (*formatter)(char*, int, int, const char*) ); | 272 | void (*formatter)(char*, int, int, const char*) ); |
273 | bool set_multi_int(const char* string, const struct opt_items * names, | ||
274 | struct opt_settings * variable, int varcount, | ||
275 | bool * changes_accepted); | ||
267 | /* use this one if you need to create a lang from the value (i.e with TALK_ID()) */ | 276 | /* use this one if you need to create a lang from the value (i.e with TALK_ID()) */ |
268 | bool set_int_ex(const unsigned char* string, const char* unit, int voice_unit, | 277 | bool set_int_ex(const unsigned char* string, const char* unit, int voice_unit, |
269 | int* variable, | 278 | int* variable, |