summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorMartin Scarratt <mmmm@rockbox.org>2006-09-18 10:06:03 +0000
committerMartin Scarratt <mmmm@rockbox.org>2006-09-18 10:06:03 +0000
commit7ef47ed87614d6100b491b2c0eb9f75d1fdc1f01 (patch)
tree6367eca3de5fcb0bbe165026b5658ef391b62fb7 /apps/settings.h
parent28546a6530f97a9f58937731ad477246a6baaa32 (diff)
Recording countdown timer: set timer in recording settings screen (max 1 week countdown), start/pause timer in recording screen by pressing the pause button. If you have a separate record button then this will override the timer and start to record. Icon at bottom right of screen indicates timer is ticking. If you are in the recording screen when the countdown is over, recording will start automatically, if not then the icon will flash to indicate you should return to the recording screen to begin recording.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10990 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 561dc59375..fe00dce023 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -167,7 +167,10 @@ struct user_settings
13= 1GB, 14 = 1.5GB 15 = 1.75MB*/
int rec_split_type; /* split/stop */
int rec_split_method; /* time/filesize */
-
+ int ctdn_mins; /* 0 - 59 */
+ int ctdn_hrs; /* 0 - 23 */
+ int ctdn_secs; /* 0 - 59 */
+ int ctdn_days; /* 0 - 6 */
int rec_prerecord_time; /* In seconds, 0-30, 0 means OFF */
int rec_directory; /* 0=base dir, 1=current dir */
bool rec_startup; /* true means start Rockbox in recording screen */
@@ -495,6 +498,11 @@ struct opt_items {
long voice_id;
};
+struct opt_settings {
+ int* setting;
+ int setting_max;
+};
+
/* prototypes */
void settings_calc_config_sector(void);
@@ -516,6 +524,8 @@ bool set_bool_options(const char* string, bool* variable,
bool set_bool(const char* string, bool* variable );
bool set_option(const char* string, void* variable, enum optiontype type,
const struct opt_items* options, int numoptions, void (*function)(int));
+bool set_multi_int(const char* string, const struct opt_items * names,
+ struct opt_settings * variable, int varcount);
bool set_int(const unsigned char* string, const char* unit, int voice_unit,
int* variable,
void (*function)(int), int step, int min, int max,