diff options
author | robert.ancell@canonical.com <> | 2011-02-13 19:34:29 +1100 |
---|---|---|
committer | robert.ancell@canonical.com <> | 2011-02-13 19:34:29 +1100 |
commit | 4364040cb64ed332ff58a75a6e5419d1b29a39d0 (patch) | |
tree | aa30d1597828fcb6e42fdc3361d3d50b7912febf /src/session.h | |
parent | cd9bea22b437851c5eb56114c36e65d7956e3fac (diff) | |
download | lightdm-4364040cb64ed332ff58a75a6e5419d1b29a39d0.tar.gz |
Split child process code out from session/xserver
Diffstat (limited to 'src/session.h')
-rw-r--r-- | src/session.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/session.h b/src/session.h index 4a7a8546..bdcf8409 100644 --- a/src/session.h +++ b/src/session.h @@ -12,7 +12,7 @@ #ifndef _SESSION_H_ #define _SESSION_H_ -#include <glib-object.h> +#include "child-process.h" #include "xauth.h" G_BEGIN_DECLS @@ -24,16 +24,13 @@ typedef struct SessionPrivate SessionPrivate; typedef struct { - GObject parent_instance; + ChildProcess parent_instance; SessionPrivate *priv; } Session; typedef struct { - GObjectClass parent_class; - - void (*exited) (Session *session, int status); - void (*killed) (Session *session, int signum); + ChildProcessClass parent_class; } SessionClass; GType session_get_type (void); @@ -44,12 +41,6 @@ const gchar *session_get_username (Session *session); const gchar *session_get_command (Session *session); -void session_set_log_file (Session *session, const gchar *log_file); - -const gchar *session_get_log_file (Session *session); - -void session_set_env (Session *session, const gchar *name, const gchar *value); - void session_set_authorization (Session *session, XAuthorization *authorization, const gchar *path); XAuthorization *session_get_authorization (Session *session); |