From 2155c976f61aa569f5da94bd2e933f5b40534ceb Mon Sep 17 00:00:00 2001 From: Markus Ongyerth Date: Thu, 17 May 2018 11:10:31 +0200 Subject: Improve inert resource handling --- include/types/wlr_tablet_v2.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/types/wlr_tablet_v2.h (limited to 'include') diff --git a/include/types/wlr_tablet_v2.h b/include/types/wlr_tablet_v2.h new file mode 100644 index 00000000..21e2d962 --- /dev/null +++ b/include/types/wlr_tablet_v2.h @@ -0,0 +1,20 @@ +#ifndef TYPES_WLR_TABLET_V2_H +#define TYPES_WLR_TABLET_V2_H + +#include "tablet-unstable-v2-protocol.h" +#include +#include + + +struct wlr_tablet_client_v2 *tablet_client_from_resource(struct wl_resource *resource); +void destroy_tablet_v2(struct wl_resource *resource); + +void destroy_tablet_pad_v2(struct wl_resource *resource); +struct wlr_tablet_pad_client_v2 *tablet_pad_client_from_resource(struct wl_resource *resource); + +void destroy_tablet_tool_v2(struct wl_resource *resource); +struct wlr_tablet_tool_client_v2 *tablet_tool_client_from_resource(struct wl_resource *resource); + +struct wlr_tablet_seat_client_v2 *tablet_seat_client_from_resource(struct wl_resource *resource); +static void wlr_tablet_seat_client_v2_destroy(struct wl_resource *resource); +#endif /* TYPES_WLR_TABLET_V2_H */ -- cgit v1.2.3