diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-08-21 23:01:12 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-08-21 23:01:12 +0000 |
| commit | 0ad617cbf0cc85dde241345194b76b590df567a8 (patch) | |
| tree | 65931c5a10788981b17f08bca1ba83151bee2855 /apps/settings.h | |
| parent | 658c8451ead9e7d07478c903c430af9c7799f324 (diff) | |
| download | rockbox-0ad617cbf0cc85dde241345194b76b590df567a8.zip rockbox-0ad617cbf0cc85dde241345194b76b590df567a8.tar.gz rockbox-0ad617cbf0cc85dde241345194b76b590df567a8.tar.bz2 rockbox-0ad617cbf0cc85dde241345194b76b590df567a8.tar.xz | |
Patch #1105616 by Ray Lambert - A-B Repeat for Archos studio/recorder, still not 100% complete, but I wanted to commit it before the 2.5 feature freeze
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7380 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.h')
| -rw-r--r-- | apps/settings.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/apps/settings.h b/apps/settings.h index 767fa49..d0041d2 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -24,6 +24,7 @@ #include "config.h" #include "file.h" #include "timefuncs.h" +#include "abrepeat.h" #define ROCKBOX_DIR "/.rockbox" #define FONT_DIR "/fonts" @@ -229,7 +230,7 @@ struct user_settings /* misc options */ - int repeat_mode; /* 0=off 1=repeat all 2=repeat one 3=shuffle */ + int repeat_mode; /* 0=off 1=repeat all 2=repeat one 3=shuffle 4=ab */ int dirfilter; /* 0=display all, 1=only supported, 2=only music, 3=dirs+playlists, 4=ID3 database */ bool sort_case; /* dir sort order: 0=case insensitive, 1=sensitive */ @@ -403,8 +404,17 @@ extern const char rec_base_directory[]; #define SETTINGS_ALL 3 /* both */ /* repeat mode options */ -enum { REPEAT_OFF, REPEAT_ALL, REPEAT_ONE, REPEAT_SHUFFLE, -NUM_REPEAT_MODES }; +enum +{ + REPEAT_OFF, + REPEAT_ALL, + REPEAT_ONE, + REPEAT_SHUFFLE, +#ifdef AB_REPEAT_ENABLE + REPEAT_AB, +#endif + NUM_REPEAT_MODES +}; /* dir filter options */ /* Note: Any new filter modes need to be added before NUM_FILTER_MODES. |