Refactor out wlr_tablet_tool_state

This commit is contained in:
Dominique Martinet 2017-08-14 16:03:05 +02:00
parent a289940bff
commit bd67849c03
4 changed files with 16 additions and 14 deletions

View file

@ -3,11 +3,11 @@
#include <wlr/types/wlr_tablet_tool.h>
struct wlr_tablet_tool_impl {
void (*destroy)(struct wlr_tablet_tool_state *tool);
void (*destroy)(struct wlr_tablet_tool *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_init(struct wlr_tablet_tool *tool,
struct wlr_tablet_tool_impl *impl);
void wlr_tablet_tool_destroy(struct wlr_tablet_tool *tool);
#endif