aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/session
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-07-11 19:03:09 +1200
committerScott Anderson <ascent12@hotmail.com>2017-08-06 13:25:26 +1200
commit2ae5cd6539253e03e065f3ecbf55179527bb5ea2 (patch)
tree94b319b116ce23890edfa375b233d10f67b9c165 /include/wlr/backend/session
parentae4478e17f56c1fb52a77d1f034387f154eddef5 (diff)
Moved session/ into backend/
Diffstat (limited to 'include/wlr/backend/session')
-rw-r--r--include/wlr/backend/session/interface.h14
1 files changed, 14 insertions, 0 deletions
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 <wlr/session.h>
+
+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