From 95a553dc51029406f9b52227e88ebd9f67b203a5 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Mon, 1 May 2017 15:33:42 +1200 Subject: Moved headers to the correct place. --- include/backend/drm/event.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 include/backend/drm/event.h (limited to 'include/backend/drm/event.h') diff --git a/include/backend/drm/event.h b/include/backend/drm/event.h new file mode 100644 index 00000000..fc4f6f9a --- /dev/null +++ b/include/backend/drm/event.h @@ -0,0 +1,21 @@ +#ifndef EVENT_H +#define EVENT_H + +#include + +enum otd_event_type { + OTD_EV_NONE, + OTD_EV_RENDER, + OTD_EV_DISPLAY_REM, + OTD_EV_DISPLAY_ADD, +}; + +struct otd_event { + enum otd_event_type type; + struct otd_display *display; +}; + +bool otd_get_event(struct otd *otd, struct otd_event *restrict ret); +bool event_add(struct otd *otd, struct otd_display *disp, enum otd_event_type type); + +#endif -- cgit v1.2.3