summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2009-04-11 15:21:51 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-04-11 15:21:51 +0200
commiteedd4b036bdd5f9d488ff011b7e6947ca1edf312 (patch)
treeb88be43b5e39f216f9d1e5749be4250a0d8ca55c /src/ui.h
parentd5969cabc44375026d97f7f3d92e019782cdc331 (diff)
downloadpianobar-eedd4b036bdd5f9d488ff011b7e6947ca1edf312.tar.gz
pianobar-eedd4b036bdd5f9d488ff011b7e6947ca1edf312.tar.bz2
pianobar-eedd4b036bdd5f9d488ff011b7e6947ca1edf312.zip
Read data from fifo
You may change your current station or add shared stations via fifo now
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ui.h b/src/ui.h
index 794003d..4206983 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -33,11 +33,12 @@ typedef enum {MSG_NONE, MSG_INFO, MSG_PLAYING, MSG_TIME, MSG_ERR,
inline void BarUiMsg (uiMsg_t type, const char *format, ...);
inline PianoReturn_t BarUiPrintPianoStatus (PianoReturn_t ret);
-PianoStation_t *BarUiSelectStation (PianoHandle_t *ph, const char *prompt);
-PianoSong_t *BarUiSelectSong (PianoSong_t *startSong);
-PianoArtist_t *BarUiSelectArtist (PianoArtist_t *startArtist);
-char *BarUiSelectMusicId (const PianoHandle_t *ph);
-void BarStationFromGenre (PianoHandle_t *ph);
+PianoStation_t *BarUiSelectStation (PianoHandle_t *ph, const char *prompt,
+ FILE *curFd);
+PianoSong_t *BarUiSelectSong (PianoSong_t *startSong, FILE *curFd);
+PianoArtist_t *BarUiSelectArtist (PianoArtist_t *startArtist, FILE *curFd);
+char *BarUiSelectMusicId (const PianoHandle_t *ph, FILE *curFd);
+void BarStationFromGenre (PianoHandle_t *ph, FILE *curFd);
inline void BarUiPrintStation (PianoStation_t *);
inline void BarUiPrintSong (PianoSong_t *, PianoStation_t *);
void BarUiStartEventCmd (const BarSettings_t *settings, const char *type,