From 1c8b72e0cd63c4965bc04e7390d3165a9e4c08ce Mon Sep 17 00:00:00 2001 From: emersion Date: Thu, 7 Sep 2017 17:31:30 +0200 Subject: Add screenshooter skeleton --- include/wlr/types/wlr_screenshooter.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 include/wlr/types/wlr_screenshooter.h (limited to 'include') 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 + +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 -- cgit v1.2.3