1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Martin Scarratt 2007-04-15 13:56:21 +00:00
parent 3c6e46ce64
commit 49952325c9
13 changed files with 670 additions and 19 deletions

View file

@ -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,