diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-04-07 22:48:52 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-04-07 22:48:52 +0200 |
commit | 575ae18234fa5f4d164457ab4f60616ad71b766a (patch) | |
tree | d22d3dcc59a32bbf9a80ca3fcb3941909e58adfc /src/ui.h | |
parent | 1945a09a7b665a0c6a3980caa64c16c369bd8016 (diff) | |
download | pianobar-575ae18234fa5f4d164457ab4f60616ad71b766a.tar.gz pianobar-575ae18234fa5f4d164457ab4f60616ad71b766a.tar.bz2 pianobar-575ae18234fa5f4d164457ab4f60616ad71b766a.zip |
Initial eventcmd work
More useful events should be added...
Diffstat (limited to 'src/ui.h')
-rw-r--r-- | src/ui.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 */ |