summaryrefslogtreecommitdiffstats
path: root/apps/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h25
1 files changed, 19 insertions, 6 deletions
diff --git a/apps/settings.h b/apps/settings.h
index cbe12d70b7..db16e717e6 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -45,14 +45,26 @@ struct opt_items {
#define MAX_FILENAME 32
#define MAX_PATHNAME 80
+/* The values are assigned to the enums so that they correspond to */
+/* setting values in settings_list.c */
+/* Shared by all bookmark parameters */
enum {
BOOKMARK_NO = 0,
- BOOKMARK_YES,
- BOOKMARK_ASK,
- BOOKMARK_UNIQUE_ONLY = 2,
- BOOKMARK_RECENT_ONLY_YES,
- BOOKMARK_RECENT_ONLY_ASK,
+ BOOKMARK_YES = 1,
+};
+
+/* Auto create bookmark */
+enum {
+ BOOKMARK_ASK = 2,
+ BOOKMARK_RECENT_ONLY_YES = 3,
+ BOOKMARK_RECENT_ONLY_ASK = 4,
+};
+
+/* Most recent bookmark */
+enum {
+ BOOKMARK_ONE_PER_PLAYLIST = 2,
+ BOOKMARK_ONE_PER_TRACK = 3,
};
enum
@@ -557,7 +569,8 @@ struct user_settings
int autoloadbookmark; /* auto load option: 0=off, 1=ask, 2=on */
int autocreatebookmark; /* auto create option: 0=off, 1=ask, 2=on */
bool autoupdatebookmark;/* auto update option */
- int usemrb; /* use MRB list: 0=No, 1=Yes, 2=One per playlist */
+ int usemrb; /* use MRB list: 0=No, 1=Yes, 2=One per playlist,
+ 3=One per playlist and track */
#ifdef HAVE_DIRCACHE
bool dircache; /* enable directory cache */