summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 7399f62b1e..cce7272eec 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -39,6 +39,11 @@
39#include "backlight.h" /* for [MIN|MAX]_BRIGHTNESS_SETTING */ 39#include "backlight.h" /* for [MIN|MAX]_BRIGHTNESS_SETTING */
40#endif 40#endif
41 41
42struct opt_items {
43 unsigned const char* string;
44 long voice_id;
45};
46
42/** Setting values defines **/ 47/** Setting values defines **/
43 48
44/* name of directory where configuration, fonts and other data 49/* name of directory where configuration, fonts and other data
@@ -103,7 +108,7 @@
103#define TRIG_MODE_REARM 2 108#define TRIG_MODE_REARM 2
104 109
105#define TRIG_DURATION_COUNT 13 110#define TRIG_DURATION_COUNT 13
106extern const char * const trig_durations[TRIG_DURATION_COUNT]; 111extern const struct opt_items trig_durations[TRIG_DURATION_COUNT];
107 112
108#define CROSSFADE_ENABLE_SHUFFLE 1 113#define CROSSFADE_ENABLE_SHUFFLE 1
109#define CROSSFADE_ENABLE_TRACKSKIP 2 114#define CROSSFADE_ENABLE_TRACKSKIP 2
@@ -255,10 +260,6 @@ void settings_display(void);
255 260
256enum optiontype { INT, BOOL }; 261enum optiontype { INT, BOOL };
257 262
258struct opt_items {
259 unsigned const char* string;
260 long voice_id;
261};
262const struct settings_list* find_setting(void* variable, int *id); 263const struct settings_list* find_setting(void* variable, int *id);
263bool cfg_int_to_string(int setting_id, int val, char* buf, int buf_len); 264bool cfg_int_to_string(int setting_id, int val, char* buf, int buf_len);
264void talk_setting(void *global_settings_variable); 265void talk_setting(void *global_settings_variable);