diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-19 18:41:02 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-06-21 10:10:04 -0400 |
commit | 53a8b4f127a370a84c81e0c91b8c6fce8b18842f (patch) | |
tree | 16cec5e29a41ede3be68b0d25f31773989b1cf28 /include/wlr/interfaces/wlr_tablet_tool.h | |
parent | fd5ad1589460db3e8663efb1b09eacae1fb5e760 (diff) |
Split out types.h and wlr/types.h
TODO: Update the code accordingly and move other types into the same
paradigm
Diffstat (limited to 'include/wlr/interfaces/wlr_tablet_tool.h')
-rw-r--r-- | include/wlr/interfaces/wlr_tablet_tool.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 <wlr/types/wlr_tablet_tool.h> + +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 |