summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2014-08-21 16:07:32 +1200
committerRobert Ancell <robert.ancell@canonical.com>2014-08-21 16:07:32 +1200
commit28a8780e4f6ff891de83b1d24098a476392bd7f9 (patch)
treef84874015c17d2478820982833bb95b3b3264f80 /src/session.h
parent462503d215d05b0e20fe8fb6f71609505d60d73e (diff)
downloadlightdm-28a8780e4f6ff891de83b1d24098a476392bd7f9.tar.gz
Add a new session type 'mir-container' that allows the session to run inside a custom system compositor
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/session.h b/src/session.h
index 06182967..e820e137 100644
--- a/src/session.h
+++ b/src/session.h
@@ -18,6 +18,7 @@
typedef struct Session Session;
+#include "session-config.h"
#include "display-server.h"
#include "accounts.h"
#include "x-authority.h"
@@ -61,7 +62,9 @@ GType session_get_type (void);
Session *session_new (void);
-void session_set_session_type (Session *session, const gchar *session_type);
+void session_set_config (Session *session, SessionConfig *config);
+
+SessionConfig *session_get_config (Session *session);
const gchar *session_get_session_type (Session *session);