summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2009-04-07 22:48:52 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-04-07 22:48:52 +0200
commit575ae18234fa5f4d164457ab4f60616ad71b766a (patch)
treed22d3dcc59a32bbf9a80ca3fcb3941909e58adfc /src/ui.h
parent1945a09a7b665a0c6a3980caa64c16c369bd8016 (diff)
downloadpianobar-windows-575ae18234fa5f4d164457ab4f60616ad71b766a.tar.gz
pianobar-windows-575ae18234fa5f4d164457ab4f60616ad71b766a.tar.bz2
pianobar-windows-575ae18234fa5f4d164457ab4f60616ad71b766a.zip
Initial eventcmd work
More useful events should be added...
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui.h b/src/ui.h
index 084bce0..794003d 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -26,6 +26,8 @@ THE SOFTWARE.
#include <piano.h>
+#include "settings.h"
+
typedef enum {MSG_NONE, MSG_INFO, MSG_PLAYING, MSG_TIME, MSG_ERR,
MSG_QUESTION, MSG_LIST} uiMsg_t;
@@ -38,5 +40,7 @@ char *BarUiSelectMusicId (const PianoHandle_t *ph);
void BarStationFromGenre (PianoHandle_t *ph);
inline void BarUiPrintStation (PianoStation_t *);
inline void BarUiPrintSong (PianoSong_t *, PianoStation_t *);
+void BarUiStartEventCmd (const BarSettings_t *settings, const char *type,
+ const PianoStation_t *curStation, const PianoSong_t *curSong);
#endif /* _UI_H */