From 53a8b4f127a370a84c81e0c91b8c6fce8b18842f Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 19 Jun 2017 18:41:02 -0400 Subject: Split out types.h and wlr/types.h TODO: Update the code accordingly and move other types into the same paradigm --- include/wlr/interfaces/wlr_tablet_tool.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/wlr/interfaces/wlr_tablet_tool.h (limited to 'include/wlr/interfaces/wlr_tablet_tool.h') diff --git a/include/wlr/interfaces/wlr_tablet_tool.h b/include/wlr/interfaces/wlr_tablet_tool.h new file mode 100644 index 00000000..cd326878 --- /dev/null +++ b/include/wlr/interfaces/wlr_tablet_tool.h @@ -0,0 +1,13 @@ +#ifndef _WLR_INTERFACES_TABLET_TOOL_H +#define _WLR_INTERFACES_TABLET_TOOL_H +#include + +struct wlr_tablet_tool_impl { + void (*destroy)(struct wlr_tablet_tool_state *tool); +}; + +struct wlr_tablet_tool *wlr_tablet_tool_create(struct wlr_tablet_tool_impl *impl, + struct wlr_tablet_tool_state *state); +void wlr_tablet_tool_destroy(struct wlr_tablet_tool *tool); + +#endif -- cgit v1.2.3