Code

screen_interface: add method mouse(), replacing CMD_MOUSE_EVENT
[ncmpc.git] / src / ncmpc.h
index 5ac3ce5a5406e36e7564621b85c571d5ba8ac8a1..2cc778f416890ccd0778e0167ab30d7954a87feb 100644 (file)
 
 #include "command.h"
 
-#include <stdbool.h>
+#ifdef HAVE_GETMOUSE
+#include "ncmpc_curses.h"
+#endif
 
-/** put the terminal in a sane mode and stop/suspend ncmpc */
-void
-sigstop(void);
+#include <stdbool.h>
 
 void begin_input_event(void);
 void end_input_event(void);
@@ -37,4 +37,9 @@ void end_input_event(void);
 bool
 do_input_event(command_t cmd);
 
+#ifdef HAVE_GETMOUSE
+void
+do_mouse_event(int x, int y, mmask_t bstate);
+#endif
+
 #endif /* NCMPC_H */