2018-12-12 22:29:57 +01:00
|
|
|
#ifndef XDPW_H
|
|
|
|
#define XDPW_H
|
|
|
|
|
|
|
|
#include <wayland-client.h>
|
|
|
|
#include <systemd/sd-bus.h>
|
|
|
|
|
2018-12-13 18:03:44 +01:00
|
|
|
struct xdpw_request {
|
|
|
|
sd_bus_slot *slot;
|
|
|
|
};
|
|
|
|
|
2018-12-12 22:29:57 +01:00
|
|
|
int init_screenshot(sd_bus *bus);
|
|
|
|
|
2018-12-13 18:03:44 +01:00
|
|
|
struct xdpw_request *request_create(sd_bus *bus, const char *object_path);
|
|
|
|
void request_destroy(struct xdpw_request *req);
|
|
|
|
|
2018-12-12 22:29:57 +01:00
|
|
|
#endif
|