summaryrefslogtreecommitdiff
path: root/daemon/gdm-greeter-session.h
diff options
context:
space:
mode:
authorWilliam Jon McCann <mccann@jhu.edu>2007-09-11 03:00:42 +0000
committerWilliam Jon McCann <mccann@src.gnome.org>2007-09-11 03:00:42 +0000
commita4680f10488670e2b38ac2d7947a712a068e0c7c (patch)
treeacb98bf21c18c15ace2b475616921f2213e8c0cf /daemon/gdm-greeter-session.h
parent729df8c4453b8b4cff659d3b76722dded1475035 (diff)
downloadgdm-a4680f10488670e2b38ac2d7947a712a068e0c7c.tar.gz
Rename GdmGreeterProxy->GdmGreeterSession
2007-09-10 William Jon McCann <mccann@jhu.edu> * daemon/INTERNALS: * daemon/Makefile.am: * daemon/gdm-factory-slave.c: (on_greeter_start), (on_greeter_stop), (run_greeter), (gdm_factory_slave_stop): * daemon/gdm-greeter-proxy.c: * daemon/gdm-greeter-proxy.h: * daemon/gdm-greeter-session.c: (change_user), (greeter_session_child_setup), (open_greeter_session), (close_greeter_session), (get_greeter_environment), (gdm_slave_whack_temp_auth_file), (create_temp_auth_file), (greeter_session_child_watch), (gdm_greeter_session_spawn), (gdm_greeter_session_start), (greeter_session_died), (gdm_greeter_session_stop), (gdm_greeter_session_set_server_address), (_gdm_greeter_session_set_x11_display_name), (_gdm_greeter_session_set_x11_display_hostname), (_gdm_greeter_session_set_x11_display_device), (_gdm_greeter_session_set_x11_display_is_local), (_gdm_greeter_session_set_x11_authority_file), (_gdm_greeter_session_set_user_name), (_gdm_greeter_session_set_group_name), (gdm_greeter_session_set_property), (gdm_greeter_session_get_property), (gdm_greeter_session_constructor), (gdm_greeter_session_class_init), (gdm_greeter_session_init), (gdm_greeter_session_finalize), (gdm_greeter_session_new): * daemon/gdm-greeter-session.h: * daemon/gdm-simple-slave.c: (on_user_verified), (on_greeter_start), (on_greeter_stop), (run_greeter), (gdm_simple_slave_stop): * daemon/gdm-slave.c: Rename GdmGreeterProxy->GdmGreeterSession svn path=/branches/mccann-gobject/; revision=5237
Diffstat (limited to 'daemon/gdm-greeter-session.h')
-rw-r--r--daemon/gdm-greeter-session.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/daemon/gdm-greeter-session.h b/daemon/gdm-greeter-session.h
new file mode 100644
index 00000000..dc72546e
--- /dev/null
+++ b/daemon/gdm-greeter-session.h
@@ -0,0 +1,64 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
+ *
+ * Copyright (C) 2007 William Jon McCann <mccann@jhu.edu>
+ *
+ * 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_GREETER_SESSION_H
+#define __GDM_GREETER_SESSION_H
+
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+#define GDM_TYPE_GREETER_SESSION (gdm_greeter_session_get_type ())
+#define GDM_GREETER_SESSION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDM_TYPE_GREETER_SESSION, GdmGreeterSession))
+#define GDM_GREETER_SESSION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GDM_TYPE_GREETER_SESSION, GdmGreeterSessionClass))
+#define GDM_IS_GREETER_SESSION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDM_TYPE_GREETER_SESSION))
+#define GDM_IS_GREETER_SESSION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GDM_TYPE_GREETER_SESSION))
+#define GDM_GREETER_SESSION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDM_TYPE_GREETER_SESSION, GdmGreeterSessionClass))
+
+typedef struct GdmGreeterSessionPrivate GdmGreeterSessionPrivate;
+
+typedef struct
+{
+ GObject parent;
+ GdmGreeterSessionPrivate *priv;
+} GdmGreeterSession;
+
+typedef struct
+{
+ GObjectClass parent_class;
+
+ void (* started) (GdmGreeterSession *greeter_session);
+ void (* stopped) (GdmGreeterSession *greeter_session);
+} GdmGreeterSessionClass;
+
+GType gdm_greeter_session_get_type (void);
+GdmGreeterSession * gdm_greeter_session_new (const char *display_name,
+ const char *display_device,
+ const char *display_hostname,
+ gboolean display_is_local);
+void gdm_greeter_session_set_server_address (GdmGreeterSession *greeter_session,
+ const char *server_address);
+gboolean gdm_greeter_session_start (GdmGreeterSession *greeter_session);
+gboolean gdm_greeter_session_stop (GdmGreeterSession *greeter_session);
+
+G_END_DECLS
+
+#endif /* __GDM_GREETER_SESSION_H */