diff options
author | Ray Strode <rstrode@redhat.com> | 2019-06-24 14:48:23 -0400 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2019-06-27 15:55:25 -0400 |
commit | 6a8f7bc50e8d03977b5b371f64921d1194b11ae3 (patch) | |
tree | 5d6cd42d7eb019901b906fbd6cfb723f07572672 /daemon/gdm-session-worker.h | |
parent | d461213b5e529e440c4525c1c0e16889a11cc72c (diff) | |
download | gdm-6a8f7bc50e8d03977b5b371f64921d1194b11ae3.tar.gz |
session-worker: expose worker state enum to type system
We're going to need to access the worker state as a property on
the worker object.
This commit hooks it up to glib-mkenums so the requisite goo can
get generated
Diffstat (limited to 'daemon/gdm-session-worker.h')
-rw-r--r-- | daemon/gdm-session-worker.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/daemon/gdm-session-worker.h b/daemon/gdm-session-worker.h index 5603e80e..2814eab4 100644 --- a/daemon/gdm-session-worker.h +++ b/daemon/gdm-session-worker.h @@ -25,6 +25,7 @@ #include "gdm-session-worker-glue.h" #include "gdm-session-worker-common.h" +#include "gdm-session-worker-enum-types.h" G_BEGIN_DECLS @@ -35,6 +36,17 @@ G_BEGIN_DECLS #define GDM_IS_SESSION_WORKER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDM_TYPE_SESSION_WORKER)) #define GDM_SESSION_WORKER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GDM_TYPE_SESSION_WORKER, GdmSessionWorkerClass)) +typedef enum { + GDM_SESSION_WORKER_STATE_NONE = 0, + GDM_SESSION_WORKER_STATE_SETUP_COMPLETE, + GDM_SESSION_WORKER_STATE_AUTHENTICATED, + GDM_SESSION_WORKER_STATE_AUTHORIZED, + GDM_SESSION_WORKER_STATE_ACCREDITED, + GDM_SESSION_WORKER_STATE_ACCOUNT_DETAILS_SAVED, + GDM_SESSION_WORKER_STATE_SESSION_OPENED, + GDM_SESSION_WORKER_STATE_SESSION_STARTED +} GdmSessionWorkerState; + typedef struct GdmSessionWorkerPrivate GdmSessionWorkerPrivate; typedef struct |