mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-02 15:35:58 +01:00
16 lines
300 B
C
16 lines
300 B
C
#ifndef XDPW_H
|
|
#define XDPW_H
|
|
|
|
#include <wayland-client.h>
|
|
#include <systemd/sd-bus.h>
|
|
|
|
struct xdpw_request {
|
|
sd_bus_slot *slot;
|
|
};
|
|
|
|
int init_screenshot(sd_bus *bus);
|
|
|
|
struct xdpw_request *request_create(sd_bus *bus, const char *object_path);
|
|
void request_destroy(struct xdpw_request *req);
|
|
|
|
#endif
|