diff options
Diffstat (limited to 'include/wlr/interfaces/wlr_touch.h')
-rw-r--r-- | include/wlr/interfaces/wlr_touch.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/wlr/interfaces/wlr_touch.h b/include/wlr/interfaces/wlr_touch.h new file mode 100644 index 00000000..d83ad558 --- /dev/null +++ b/include/wlr/interfaces/wlr_touch.h @@ -0,0 +1,13 @@ +#ifndef _WLR_INTERFACES_TOUCH_H +#define _WLR_INTERFACES_TOUCH_H +#include <wlr/types/wlr_touch.h> + +struct wlr_touch_impl { + void (*destroy)(struct wlr_touch_state *state); +}; + +struct wlr_touch *wlr_touch_create(struct wlr_touch_impl *impl, + struct wlr_touch_state *state); +void wlr_touch_destroy(struct wlr_touch *touch); + +#endif |