summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2010-10-25 11:51:15 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2010-10-25 11:51:15 +0200
commit1c44f089383538a113fc46e49a842bb5b3cc66fc (patch)
treeac673dfb22b044fb86eca580425d3526ae2904dd /src/ui.h
parent4ea9c3f77b298b4da5e95062023cafbc7c19a021 (diff)
downloadpianobar-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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/ui.h b/src/ui.h
index eed0b07..9a4dcb5 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -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 */