diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-05 23:11:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-05 23:11:26 -0400 |
commit | f95c02eebe54785a4f64332f7e574dddff7e3669 (patch) | |
tree | 0e29dfa81a30d6172c558d2b5df6d95f31a32b20 /include/wlr/backend/session | |
parent | 41b98f21e50a6d57ba4b7fd8ba90066bba614e6a (diff) | |
parent | 5bf61ca7edb658737f3ccbaed0a99f4779d329bb (diff) |
Merge pull request #29 from ascent12/session
Moved session into backend/session and changed ownership
Diffstat (limited to 'include/wlr/backend/session')
-rw-r--r-- | include/wlr/backend/session/interface.h | 14 |
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..16814446 --- /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/backend/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 |