mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-14 06:59:43 -05:00
Add screenshooter skeleton
This commit is contained in:
parent
321c26c2a3
commit
1c8b72e0cd
6 changed files with 315 additions and 2 deletions
21
include/wlr/types/wlr_screenshooter.h
Normal file
21
include/wlr/types/wlr_screenshooter.h
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue