aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces/wlr_tablet_pad.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/interfaces/wlr_tablet_pad.h')
-rw-r--r--include/wlr/interfaces/wlr_tablet_pad.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/wlr/interfaces/wlr_tablet_pad.h b/include/wlr/interfaces/wlr_tablet_pad.h
new file mode 100644
index 00000000..09274c6c
--- /dev/null
+++ b/include/wlr/interfaces/wlr_tablet_pad.h
@@ -0,0 +1,13 @@
+#ifndef _WLR_INTERFACES_TABLET_PAD_H
+#define _WLR_INTERFACES_TABLET_PAD_H
+#include <wlr/types/wlr_tablet_pad.h>
+
+struct wlr_tablet_pad_impl {
+ void (*destroy)(struct wlr_tablet_pad_state *pad);
+};
+
+struct wlr_tablet_pad *wlr_tablet_pad_create(struct wlr_tablet_pad_impl *impl,
+ struct wlr_tablet_pad_state *state);
+void wlr_tablet_pad_destroy(struct wlr_tablet_pad *pad);
+
+#endif