diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2012-03-17 19:27:27 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-03-17 19:27:27 +0100 |
commit | 7a02354513acad9e315b4f4f736b77a08de363a6 (patch) | |
tree | 86042261e9c1bba2d773f4817a3c862ce12f09c9 /src/ui.h | |
parent | e6a87e15043767c0f1f00a62110e4bbb53de4ece (diff) | |
download | pianobar-7a02354513acad9e315b4f4f736b77a08de363a6.tar.gz pianobar-7a02354513acad9e315b4f4f736b77a08de363a6.tar.bz2 pianobar-7a02354513acad9e315b4f4f736b77a08de363a6.zip |
Auto-select last remaining item of filtered list
See #231.
Diffstat (limited to 'src/ui.h')
-rw-r--r-- | src/ui.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -24,6 +24,8 @@ THE SOFTWARE. #ifndef _UI_H #define _UI_H +#include <stdbool.h> + #include <piano.h> #include <waitress.h> @@ -37,7 +39,7 @@ typedef void (*BarUiSelectStationCallback_t) (BarApp_t *app, char *buf); void BarUiMsg (const BarSettings_t *, const BarUiMsg_t, const char *, ...); PianoStation_t *BarUiSelectStation (BarApp_t *, PianoStation_t *, const char *, - BarUiSelectStationCallback_t); + BarUiSelectStationCallback_t, bool); PianoSong_t *BarUiSelectSong (const BarSettings_t *, PianoSong_t *, BarReadlineFds_t *); PianoArtist_t *BarUiSelectArtist (BarApp_t *, PianoArtist_t *); |