diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-04-22 16:52:52 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-05-18 15:32:02 +0200 |
commit | 41f1a727c1b7ebbabf84652bab20361ee7631642 (patch) | |
tree | 44c6cc8c836c5fd91078ec6d991cd9220acdfde2 /src/settings.h | |
parent | e8c314c615092555d5fe79119c176ec0413caf3d (diff) | |
download | pianobar-41f1a727c1b7ebbabf84652bab20361ee7631642.tar.gz pianobar-41f1a727c1b7ebbabf84652bab20361ee7631642.tar.bz2 pianobar-41f1a727c1b7ebbabf84652bab20361ee7631642.zip |
Configureable format strings
Closes #88
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h index 3bbeaa6..91ea8fe 100644 --- a/src/settings.h +++ b/src/settings.h @@ -70,6 +70,13 @@ typedef enum { BAR_SORT_COUNT = 6, } BarStationSorting_t; +#include "ui_types.h" + +typedef struct { + char *prefix; + char *postfix; +} BarMsgFormatStr_t; + typedef struct { unsigned int history; int volume; @@ -84,6 +91,9 @@ typedef struct { char *eventCmd; char *loveIcon; char *banIcon; + char *npSongFormat; + char *npStationFormat; + BarMsgFormatStr_t msgFormat[MSG_COUNT]; } BarSettings_t; void BarSettingsInit (BarSettings_t *); |