diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2017-10-02 12:12:01 +0200 |
---|---|---|
committer | Michał Cichoń <michcic@gmail.com> | 2018-10-30 12:04:15 +0100 |
commit | ed3ab2743344dfe2b38427733560b9847d259c8c (patch) | |
tree | bba0f0fd3ff661c13c3cb8d65566c73c0a58e13c /src/ui.h | |
parent | f43a0894cb1386bbb5c0c1f068a4f60192070658 (diff) | |
download | pianobar-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.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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); |