From 0728b6a89de607e211bbc075b34f08495ac0d22f Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 23 Jul 2011 20:22:53 +0200 Subject: Added toggle to quickmix menu Closes #141 --- 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 f86f5f3..db90646 100644 --- a/src/ui.h +++ b/src/ui.h @@ -33,8 +33,10 @@ THE SOFTWARE. #include "ui_readline.h" #include "ui_types.h" +typedef void (*BarUiSelectStationCallback_t) (BarApp_t *app, char *buf); + void BarUiMsg (const BarSettings_t *, const BarUiMsg_t, const char *, ...); -PianoStation_t *BarUiSelectStation (BarApp_t *, const char *); +PianoStation_t *BarUiSelectStation (BarApp_t *, const char *, BarUiSelectStationCallback_t); PianoSong_t *BarUiSelectSong (const BarSettings_t *, PianoSong_t *, BarReadlineFds_t *); PianoArtist_t *BarUiSelectArtist (BarApp_t *, PianoArtist_t *); -- cgit v1.2.3