summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2017-10-02 12:12:01 +0200
committerMichał Cichoń <michcic@gmail.com>2018-10-30 12:04:15 +0100
commited3ab2743344dfe2b38427733560b9847d259c8c (patch)
treebba0f0fd3ff661c13c3cb8d65566c73c0a58e13c /src/ui.h
parentf43a0894cb1386bbb5c0c1f068a4f60192070658 (diff)
downloadpianobar-windows-ed3ab2743344dfe2b38427733560b9847d259c8c.tar.gz
pianobar-windows-ed3ab2743344dfe2b38427733560b9847d259c8c.tar.bz2
pianobar-windows-ed3ab2743344dfe2b38427733560b9847d259c8c.zip
Show station in song lists
Iff song’s station is not the current station. This is only the case for the song history right now. Closes #638
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 126f6bb..faca48e 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -38,14 +38,15 @@ typedef void (*BarUiSelectStationCallback_t) (BarApp_t *app, char *buf);
void BarUiMsg (const BarSettings_t *, const BarUiMsg_t, const char *, ...) __attribute__((format(printf, 3, 4)));
PianoStation_t *BarUiSelectStation (BarApp_t *, PianoStation_t *, const char *,
BarUiSelectStationCallback_t, bool);
-PianoSong_t *BarUiSelectSong (const BarSettings_t *, PianoSong_t *,
- BarReadline_t);
+PianoSong_t *BarUiSelectSong (const BarApp_t * const app,
+ PianoSong_t *startSong, BarReadline_t rl);
PianoArtist_t *BarUiSelectArtist (BarApp_t *, PianoArtist_t *);
char *BarUiSelectMusicId (BarApp_t *, PianoStation_t *, const char *);
void BarUiPrintStation (const BarSettings_t *, PianoStation_t *);
void BarUiPrintSong (const BarSettings_t *, const PianoSong_t *,
const PianoStation_t *);
-size_t BarUiListSongs (const BarSettings_t *, const PianoSong_t *, const char *);
+size_t BarUiListSongs (const BarApp_t * const app,
+ const PianoSong_t *song, const char *filter);
void BarUiStartEventCmd (const BarSettings_t *, const char *,
const PianoStation_t *, const PianoSong_t *, const player2_t * const,
PianoStation_t *, PianoReturn_t);