diff options
Diffstat (limited to 'apps/settings.h')
| -rw-r--r-- | apps/settings.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h index 0411f6e..00017d2 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -241,6 +241,12 @@ 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*) ); +/* 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, + void (*function)(int), int step, int min, int max, + void (*formatter)(char*, int, int, const char*), + long (*get_talk_id)(int)); /* the following are either not in setting.c or shouldnt be */ bool set_time_screen(const char* string, struct tm *tm); |