summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-01-21 14:58:40 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-01-21 14:58:40 +0000
commitef7293f0bc336beb30f3a5f2eafad4a447f60ac5 (patch)
tree68b02b0278b25a10a261d8813bbf5be39e1a51b6 /apps/settings.h
parent33acdef9db5ffa2c6f93dc07d0400c7a72a0f25e (diff)
downloadrockbox-ef7293f0bc336beb30f3a5f2eafad4a447f60ac5.tar.gz
rockbox-ef7293f0bc336beb30f3a5f2eafad4a447f60ac5.zip
New feature: NOw you can store the recorded files in either /recordings (the directory will be created automatically) or in the current directory.
New feature: A "Create directory" menu option (untested in the simulator). Bug fix: The ON+Play menu could do nasty things if you pressed ON+Play in an empty dir. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4268 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 49fa83b359..436b5204d5 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -28,6 +28,7 @@
28#define FONT_DIR "/fonts" 28#define FONT_DIR "/fonts"
29#define LANG_DIR "/langs" 29#define LANG_DIR "/langs"
30#define PLUGIN_DIR ROCKBOX_DIR"/rocks" 30#define PLUGIN_DIR ROCKBOX_DIR"/rocks"
31#define REC_BASE_DIR "/recordings"
31 32
32#define MAX_FILENAME 20 33#define MAX_FILENAME 20
33 34
@@ -95,6 +96,7 @@ struct user_settings
95 13= 24:00 */ 96 13= 24:00 */
96 97
97 int rec_prerecord_time; /* In seconds, 0-30, 0 means OFF */ 98 int rec_prerecord_time; /* In seconds, 0-30, 0 means OFF */
99 int rec_directory; /* 0=base dir, 1=current dir */
98 100
99 /* device settings */ 101 /* device settings */
100 102
@@ -230,6 +232,9 @@ extern struct user_settings global_settings;
230extern char rockboxdir[]; 232extern char rockboxdir[];
231extern long lasttime; 233extern long lasttime;
232 234
235/* Recording base directory */
236extern char rec_base_directory[];
237
233/* system defines */ 238/* system defines */
234 239
235#ifdef HAVE_LCD_CHARCELLS 240#ifdef HAVE_LCD_CHARCELLS