wlroots-hyprland/include/wlr/types/wlr_screenshooter.h

30 lines
634 B
C
Raw Normal View History

2018-02-12 21:29:23 +01:00
#ifndef WLR_TYPES_WLR_SCREENSHOOTER_H
#define WLR_TYPES_WLR_SCREENSHOOTER_H
2017-09-07 17:31:30 +02:00
#include <wayland-server.h>
struct wlr_screenshooter {
struct wl_global *global;
struct wl_list screenshots; // wlr_screenshot::link
struct wl_listener display_destroy;
2017-09-07 17:31:30 +02:00
void *data;
};
struct wlr_screenshot {
struct wl_resource *resource;
struct wl_resource *output_resource;
struct wl_list link;
struct wlr_output *output;
struct wlr_screenshooter *screenshooter;
2017-09-07 17:31:30 +02:00
void* data;
};
struct wlr_screenshooter *wlr_screenshooter_create(struct wl_display *display);
2017-09-07 17:31:30 +02:00
void wlr_screenshooter_destroy(struct wlr_screenshooter *screenshooter);
#endif