From 2ae5cd6539253e03e065f3ecbf55179527bb5ea2 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Tue, 11 Jul 2017 19:03:09 +1200 Subject: Moved session/ into backend/ --- include/wlr/backend/session/interface.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/wlr/backend/session/interface.h (limited to 'include/wlr/backend/session') diff --git a/include/wlr/backend/session/interface.h b/include/wlr/backend/session/interface.h new file mode 100644 index 00000000..4938110d --- /dev/null +++ b/include/wlr/backend/session/interface.h @@ -0,0 +1,14 @@ +#ifndef WLR_SESSION_INTERFACE_H +#define WLR_SESSION_INTERFACE_H + +#include + +struct session_impl { + struct wlr_session *(*start)(struct wl_display *disp); + void (*finish)(struct wlr_session *session); + int (*open)(struct wlr_session *session, const char *path); + void (*close)(struct wlr_session *session, int fd); + bool (*change_vt)(struct wlr_session *session, unsigned vt); +}; + +#endif -- cgit v1.2.3