diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-10-25 11:51:15 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2010-10-25 11:51:15 +0200 |
commit | 1c44f089383538a113fc46e49a842bb5b3cc66fc (patch) | |
tree | ac673dfb22b044fb86eca580425d3526ae2904dd /src/ui.h | |
parent | 4ea9c3f77b298b4da5e95062023cafbc7c19a021 (diff) | |
download | pianobar-1c44f089383538a113fc46e49a842bb5b3cc66fc.tar.gz pianobar-1c44f089383538a113fc46e49a842bb5b3cc66fc.tar.bz2 pianobar-1c44f089383538a113fc46e49a842bb5b3cc66fc.zip |
Use BarApp_t in BarUiPianoCall
Required for automatic reauthentication
Diffstat (limited to 'src/ui.h')
-rw-r--r-- | src/ui.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -29,6 +29,7 @@ THE SOFTWARE. #include "settings.h" #include "player.h" +#include "main.h" typedef enum {MSG_NONE, MSG_INFO, MSG_PLAYING, MSG_TIME, MSG_ERR, MSG_QUESTION, MSG_LIST} uiMsg_t; @@ -39,14 +40,14 @@ PianoStation_t *BarUiSelectStation (PianoHandle_t *, const char *, BarStationSorting_t, FILE *); PianoSong_t *BarUiSelectSong (PianoSong_t *startSong, FILE *curFd); PianoArtist_t *BarUiSelectArtist (PianoArtist_t *startArtist, FILE *curFd); -char *BarUiSelectMusicId (PianoHandle_t *ph, WaitressHandle_t *, FILE *curFd, char *); -void BarStationFromGenre (PianoHandle_t *ph, WaitressHandle_t *, FILE *curFd); +char *BarUiSelectMusicId (BarApp_t *, FILE *, char *); +void BarStationFromGenre (BarApp_t *, FILE *); void BarUiPrintStation (PianoStation_t *); void BarUiPrintSong (PianoSong_t *, PianoStation_t *); void BarUiStartEventCmd (const BarSettings_t *, const char *, const PianoStation_t *, const PianoSong_t *, const struct audioPlayer *, PianoReturn_t, WaitressReturn_t); -int BarUiPianoCall (PianoHandle_t *, PianoRequestType_t, WaitressHandle_t *, +int BarUiPianoCall (BarApp_t * const, PianoRequestType_t, void *, PianoReturn_t *, WaitressReturn_t *); #endif /* _UI_H */ |