diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-04-11 15:21:51 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-04-11 15:21:51 +0200 |
commit | eedd4b036bdd5f9d488ff011b7e6947ca1edf312 (patch) | |
tree | b88be43b5e39f216f9d1e5749be4250a0d8ca55c /src/ui.h | |
parent | d5969cabc44375026d97f7f3d92e019782cdc331 (diff) | |
download | pianobar-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.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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, |