From 1c8d37efdba437ab42d3d14257b7eb6adf7f2e4f Mon Sep 17 00:00:00 2001 From: toni Date: Mon, 26 Oct 2015 00:30:52 +0100 Subject: exported UI IPC --- ui_input.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ui_input.h') diff --git a/ui_input.h b/ui_input.h index e65d560..be93864 100644 --- a/ui_input.h +++ b/ui_input.h @@ -16,6 +16,7 @@ struct input { char *prompt; chtype attrs; chtype shadow; + ui_input_callback cb_input; }; struct input * @@ -37,6 +38,9 @@ int input_cb(WINDOW *win, void *data, bool timed_out); void -register_input(WINDOW *win, struct input *a); +register_input(WINDOW *win, struct input *a, ui_input_callback uin); + +void +unregister_input(struct input *a); #endif -- cgit v1.2.3