You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
524 B
16 lines
524 B
7 years ago
|
#ifndef _WLR_INTERFACES_DATA_SOURCE_H
|
||
|
#define _WLR_INTERFACES_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
|