diff options
author | ben <benjaminfranzke@googlemail.com> | 2010-07-23 18:25:13 +0200 |
---|---|---|
committer | ben <benjaminfranzke@googlemail.com> | 2010-07-23 18:25:13 +0200 |
commit | cecfaca55f24f6628beb9a918b10b7ffab266535 (patch) | |
tree | 1377e23aaf26f2fe546a8fbd24e882f34299718d /src/g_curses_input.h | |
parent | 7eba2fb8fac9f45273f206516070c2ad14e1dfb9 (diff) | |
download | pa-sink-ctl-cecfaca55f24f6628beb9a918b10b7ffab266535.tar.gz pa-sink-ctl-cecfaca55f24f6628beb9a918b10b7ffab266535.tar.bz2 pa-sink-ctl-cecfaca55f24f6628beb9a918b10b7ffab266535.zip |
glib curses input-event added (replacement for g_timeout)
Diffstat (limited to 'src/g_curses_input.h')
-rw-r--r-- | src/g_curses_input.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/g_curses_input.h b/src/g_curses_input.h new file mode 100644 index 0000000..23eb550 --- /dev/null +++ b/src/g_curses_input.h @@ -0,0 +1,12 @@ +#ifndef G_CURESES_INPUT_H +#define G_CURESES_INPUT_H + +#include <ncurses.h> +#include <glib.h> + +GSource *g_curses_input_source_new(WINDOW *screen); +guint g_curses_input_add_full(gint priority, WINDOW *win, GSourceFunc function, + gpointer data, GDestroyNotify notify); +guint g_curses_input_add(WINDOW *win, GSourceFunc function, gpointer data); + +#endif /* G_CURESES_INPUT_H */ |