aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Ongyerth <ongy@ongy.net>2018-05-17 11:10:31 +0200
committerMarkus Ongyerth <ongy@ongy.net>2018-07-14 09:47:16 +0200
commit2155c976f61aa569f5da94bd2e933f5b40534ceb (patch)
treec3b83aaa238cd1e97ca77ef3c7a23af6bcca8f5c /include
parentb79d11395c9f8f26287e17e80066fd9034f05266 (diff)
downloadwlroots-2155c976f61aa569f5da94bd2e933f5b40534ceb.tar.xz
Improve inert resource handling
Diffstat (limited to 'include')
-rw-r--r--include/types/wlr_tablet_v2.h20
1 files changed, 20 insertions, 0 deletions
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 <wayland-server.h>
+#include <wlr/types/wlr_tablet_v2.h>
+
+
+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 */