summaryrefslogtreecommitdiff
path: root/daemon/gdm-local-display.h
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2015-02-03 14:00:26 -0500
committerRay Strode <rstrode@redhat.com>2015-02-18 17:34:11 -0500
commit2cb9568900adc5fd7f7f5033ae746b91001054d0 (patch)
treef0382ce5dc7f7c46623db4bd8c50bc59cd470d46 /daemon/gdm-local-display.h
parent6b417ef59cb03daab6439f3274d31773ea5917f9 (diff)
downloadgdm-2cb9568900adc5fd7f7f5033ae746b91001054d0.tar.gz
display: merge GdmStaticDisplay and GdmTransientDisplay
They basically do the same thing with very minor differences, so merge them into a new GdmLocalDisplay object. https://bugzilla.gnome.org/show_bug.cgi?id=744764
Diffstat (limited to 'daemon/gdm-local-display.h')
-rw-r--r--daemon/gdm-local-display.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/daemon/gdm-local-display.h b/daemon/gdm-local-display.h
new file mode 100644
index 00000000..9ece9bee
--- /dev/null
+++ b/daemon/gdm-local-display.h
@@ -0,0 +1,57 @@
+/* -*- 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+
+#ifndef __GDM_LOCAL_DISPLAY_H
+#define __GDM_LOCAL_DISPLAY_H
+
+#include <glib-object.h>
+#include "gdm-display.h"
+
+G_BEGIN_DECLS
+
+#define GDM_TYPE_LOCAL_DISPLAY (gdm_local_display_get_type ())
+#define GDM_LOCAL_DISPLAY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDM_TYPE_LOCAL_DISPLAY, GdmLocalDisplay))
+#define GDM_LOCAL_DISPLAY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GDM_TYPE_LOCAL_DISPLAY, GdmLocalDisplayClass))
+#define GDM_IS_LOCAL_DISPLAY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDM_TYPE_LOCAL_DISPLAY))
+#define GDM_IS_LOCAL_DISPLAY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GDM_TYPE_LOCAL_DISPLAY))
+#define GDM_LOCAL_DISPLAY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDM_TYPE_LOCAL_DISPLAY, GdmLocalDisplayClass))
+
+typedef struct GdmLocalDisplayPrivate GdmLocalDisplayPrivate;
+
+typedef struct
+{
+ GdmDisplay parent;
+ GdmLocalDisplayPrivate *priv;
+} GdmLocalDisplay;
+
+typedef struct
+{
+ GdmDisplayClass parent_class;
+
+} GdmLocalDisplayClass;
+
+GType gdm_local_display_get_type (void);
+GdmDisplay * gdm_local_display_new (int display_number);
+
+
+G_END_DECLS
+
+#endif /* __GDM_LOCAL_DISPLAY_H */