aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-09-07 17:31:30 +0200
committeremersion <contact@emersion.fr>2017-10-07 16:22:02 +0200
commit1c8b72e0cd63c4965bc04e7390d3165a9e4c08ce (patch)
treeaf6d5816bf7e4baf28762ba60fccedaa96a52c3f /include
parent321c26c2a3c77ddba52e1a6194669328e473fdb4 (diff)
Add screenshooter skeleton
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_screenshooter.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_screenshooter.h b/include/wlr/types/wlr_screenshooter.h
new file mode 100644
index 00000000..5d1a9254
--- /dev/null
+++ b/include/wlr/types/wlr_screenshooter.h
@@ -0,0 +1,21 @@
+#ifndef _WLR_SCREENSHOOTER_H
+#define _WLR_SCREENSHOOTER_H
+#include <wayland-server.h>
+
+struct wlr_screenshooter {
+ struct wl_global *wl_global;
+
+ void *data;
+};
+
+struct wlr_screenshot {
+ struct wl_resource *resource;
+ struct wl_resource *output;
+
+ void* data;
+};
+
+struct wlr_screenshooter *wlr_screenshooter_create(struct wl_display *display);
+void wlr_screenshooter_destroy(struct wlr_screenshooter *screenshooter);
+
+#endif