diff options
Diffstat (limited to 'src/clipboard.h')
-rw-r--r-- | src/clipboard.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/clipboard.h b/src/clipboard.h new file mode 100644 index 0000000..c5f3a4e --- /dev/null +++ b/src/clipboard.h @@ -0,0 +1,15 @@ +#ifndef CLIPBOARD_H +#define CLIPBOARD_H + +#include <wayland-client.h> + +struct clipboard { + struct wl_data_offer *wl_data_offer; + const char *mime_type; + int fd; +}; + +void clipboard_finish_paste(struct clipboard *clipboard); +void clipboard_reset(struct clipboard *clipboard); + +#endif /* CLIPBOARD_H */ |