mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
wlr-data-device interface
This commit is contained in:
parent
2b09105bde
commit
6a7560fae0
11 changed files with 268 additions and 418 deletions
|
|
@ -1,16 +0,0 @@
|
|||
#ifndef WLR_INTERFACES_WLR_DATA_SOURCE_H
|
||||
#define WLR_INTERFACES_WLR_DATA_SOURCE_H
|
||||
|
||||
#include <wlr/types/wlr_data_source.h>
|
||||
|
||||
struct wlr_data_source_impl {
|
||||
void (*send)(struct wlr_data_source *data_source, const char *type, int fd);
|
||||
void (*accepted)(struct wlr_data_source *data_source, const char *type);
|
||||
void (*cancelled)(struct wlr_data_source *data_source);
|
||||
};
|
||||
|
||||
bool wlr_data_source_init(struct wlr_data_source *source,
|
||||
struct wlr_data_source_impl *impl);
|
||||
void wlr_data_source_finish(struct wlr_data_source *source);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue