diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-19 18:41:02 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-06-21 10:10:04 -0400 |
commit | 53a8b4f127a370a84c81e0c91b8c6fce8b18842f (patch) | |
tree | 16cec5e29a41ede3be68b0d25f31773989b1cf28 /include/wlr/interfaces/wlr_input_device.h | |
parent | fd5ad1589460db3e8663efb1b09eacae1fb5e760 (diff) |
Split out types.h and wlr/types.h
TODO: Update the code accordingly and move other types into the same
paradigm
Diffstat (limited to 'include/wlr/interfaces/wlr_input_device.h')
-rw-r--r-- | include/wlr/interfaces/wlr_input_device.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/wlr/interfaces/wlr_input_device.h b/include/wlr/interfaces/wlr_input_device.h new file mode 100644 index 00000000..26729c7c --- /dev/null +++ b/include/wlr/interfaces/wlr_input_device.h @@ -0,0 +1,16 @@ +#ifndef _WLR_INTERFACES_INPUT_DEVICE_H +#define _WLR_INTERFACES_INPUT_DEVICE_H +#include <wlr/types/wlr_input_device.h> + +struct wlr_input_device_impl { + void (*destroy)(struct wlr_input_device_state *state); +}; + +struct wlr_input_device *wlr_input_device_create( + enum wlr_input_device_type type, + struct wlr_input_device_impl *impl, + struct wlr_input_device_state *state, + const char *name, int vendor, int product); +void wlr_input_device_destroy(struct wlr_input_device *dev); + +#endif |