summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/apps/settings.h b/apps/settings.h
index 767fa49463..d0041d2e99 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -24,6 +24,7 @@
24#include "config.h" 24#include "config.h"
25#include "file.h" 25#include "file.h"
26#include "timefuncs.h" 26#include "timefuncs.h"
27#include "abrepeat.h"
27 28
28#define ROCKBOX_DIR "/.rockbox" 29#define ROCKBOX_DIR "/.rockbox"
29#define FONT_DIR "/fonts" 30#define FONT_DIR "/fonts"
@@ -229,7 +230,7 @@ struct user_settings
229 230
230 /* misc options */ 231 /* misc options */
231 232
232 int repeat_mode; /* 0=off 1=repeat all 2=repeat one 3=shuffle */ 233 int repeat_mode; /* 0=off 1=repeat all 2=repeat one 3=shuffle 4=ab */
233 int dirfilter; /* 0=display all, 1=only supported, 2=only music, 234 int dirfilter; /* 0=display all, 1=only supported, 2=only music,
234 3=dirs+playlists, 4=ID3 database */ 235 3=dirs+playlists, 4=ID3 database */
235 bool sort_case; /* dir sort order: 0=case insensitive, 1=sensitive */ 236 bool sort_case; /* dir sort order: 0=case insensitive, 1=sensitive */
@@ -403,8 +404,17 @@ extern const char rec_base_directory[];
403#define SETTINGS_ALL 3 /* both */ 404#define SETTINGS_ALL 3 /* both */
404 405
405/* repeat mode options */ 406/* repeat mode options */
406enum { REPEAT_OFF, REPEAT_ALL, REPEAT_ONE, REPEAT_SHUFFLE, 407enum
407NUM_REPEAT_MODES }; 408{
409 REPEAT_OFF,
410 REPEAT_ALL,
411 REPEAT_ONE,
412 REPEAT_SHUFFLE,
413#ifdef AB_REPEAT_ENABLE
414 REPEAT_AB,
415#endif
416 NUM_REPEAT_MODES
417};
408 418
409/* dir filter options */ 419/* dir filter options */
410/* Note: Any new filter modes need to be added before NUM_FILTER_MODES. 420/* Note: Any new filter modes need to be added before NUM_FILTER_MODES.