diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-03-05 12:38:03 +0100 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-03-06 10:55:52 +0100 |
commit | ed2240e0990236bf50d795ac86a2dfad05e1a086 (patch) | |
tree | 040a468f74d9389716101ac9cbd9b2159a4999bb /src/ui.h | |
parent | 064db905c761df7e9e4e3b5d99807d4c44c4a86b (diff) | |
download | pianobar-ed2240e0990236bf50d795ac86a2dfad05e1a086.tar.gz pianobar-ed2240e0990236bf50d795ac86a2dfad05e1a086.tar.bz2 pianobar-ed2240e0990236bf50d795ac86a2dfad05e1a086.zip |
Added song length and rating to eventcmd, new songfinish event
Diffstat (limited to 'src/ui.h')
-rw-r--r-- | src/ui.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -27,6 +27,7 @@ THE SOFTWARE. #include <piano.h> #include "settings.h" +#include "player.h" typedef enum {MSG_NONE, MSG_INFO, MSG_PLAYING, MSG_TIME, MSG_ERR, MSG_QUESTION, MSG_LIST} uiMsg_t; @@ -41,8 +42,8 @@ char *BarUiSelectMusicId (PianoHandle_t *ph, FILE *curFd, char *); void BarStationFromGenre (PianoHandle_t *ph, FILE *curFd); void BarUiPrintStation (PianoStation_t *); void BarUiPrintSong (PianoSong_t *, PianoStation_t *); -void BarUiStartEventCmd (const BarSettings_t *settings, const char *type, - const PianoStation_t *curStation, const PianoSong_t *curSong, - PianoReturn_t); +void BarUiStartEventCmd (const BarSettings_t *, const char *, + const PianoStation_t *, const PianoSong_t *, + const struct audioPlayer *, PianoReturn_t); #endif /* _UI_H */ |