summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/settings.h b/src/settings.h
index 42443d7..2505321 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -64,16 +64,27 @@ typedef enum {
BAR_KS_COUNT = 22,
} BarKeyShortcutId_t;
+typedef enum {
+ BAR_SORT_NAME_AZ = 0,
+ BAR_SORT_NAME_ZA = 1,
+ BAR_SORT_QUICKMIX_01_NAME_AZ = 2,
+ BAR_SORT_QUICKMIX_01_NAME_ZA = 3,
+ BAR_SORT_QUICKMIX_10_NAME_AZ = 4,
+ BAR_SORT_QUICKMIX_10_NAME_ZA = 5,
+ BAR_SORT_COUNT = 6,
+} BarStationSorting_t;
+
typedef struct {
+ unsigned int history;
+ BarStationSorting_t sortOrder;
+ PianoAudioFormat_t audioFormat;
char *username;
char *password;
char *controlProxy; /* non-american listeners need this */
char *proxy;
char keys[BAR_KS_COUNT];
- PianoAudioFormat_t audioFormat;
char *autostartStation;
char *eventCmd;
- unsigned int history;
} BarSettings_t;
typedef void (*BarKeyShortcutFunc_t) (BAR_KS_ARGS);