From 7a02354513acad9e315b4f4f736b77a08de363a6 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 17 Mar 2012 19:27:27 +0100 Subject: Auto-select last remaining item of filtered list See #231. --- src/ui.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ui.h') diff --git a/src/ui.h b/src/ui.h index 01d30fb..08dcca0 100644 --- a/src/ui.h +++ b/src/ui.h @@ -24,6 +24,8 @@ THE SOFTWARE. #ifndef _UI_H #define _UI_H +#include + #include #include @@ -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 *); -- cgit v1.2.3