diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-05-17 12:44:22 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-06-09 15:54:01 -0400 |
commit | 24cb017c045545ac6b239ea28fe005b993e180e5 (patch) | |
tree | c9c1ef8e1eebb418d8a9da3ec04200e5de4f1b7b /daemon/gdm-setup-session.h | |
parent | 30ed994d9cce7395ab68486efdba8870a98cb612 (diff) | |
download | gdm-24cb017c045545ac6b239ea28fe005b993e180e5.tar.gz |
Allow alternative welcome sessionswip/initial-setup-redux
Diffstat (limited to 'daemon/gdm-setup-session.h')
-rw-r--r-- | daemon/gdm-setup-session.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/daemon/gdm-setup-session.h b/daemon/gdm-setup-session.h new file mode 100644 index 00000000..c674c6c1 --- /dev/null +++ b/daemon/gdm-setup-session.h @@ -0,0 +1,61 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- + * + * Copyright (C) 2011 Red Hat, Inc. + * Author: Matthias Clasen + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + */ + + +#ifndef __GDM_SETUP_SESSION_H +#define __GDM_SETUP_SESSION_H + +#include <glib-object.h> + +#include "gdm-welcome-session.h" + +G_BEGIN_DECLS + +#define GDM_TYPE_SETUP_SESSION (gdm_setup_session_get_type ()) +#define GDM_SETUP_SESSION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDM_TYPE_SETUP_SESSION, GdmSetupSession)) +#define GDM_SETUP_SESSION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GDM_TYPE_SETUP_SESSION, GdmSetupSessionClass)) +#define GDM_IS_SETUP_SESSION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDM_TYPE_SETUP_SESSION)) +#define GDM_IS_SETUP_SESSION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GDM_TYPE_SETUP_SESSION)) +#define GDM_SETUP_SESSION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDM_TYPE_SETUP_SESSION, GdmSetupSessionClass)) + +typedef struct GdmSetupSessionPrivate GdmSetupSessionPrivate; + +typedef struct +{ + GdmWelcomeSession parent; + GdmSetupSessionPrivate *priv; +} GdmSetupSession; + +typedef struct +{ + GdmWelcomeSessionClass parent_class; +} GdmSetupSessionClass; + +GType gdm_setup_session_get_type (void); +GdmSetupSession * gdm_setup_session_new (const char *display_name, + const char *seat_id, + const char *display_device, + const char *display_hostname, + gboolean display_is_local); + +G_END_DECLS + +#endif /* __GDM_SETUP_SESSION_H */ |