summaryrefslogtreecommitdiff
path: root/src/seat-xdmcp-session.h
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2011-07-15 21:42:37 +1000
committerRobert Ancell <robert.ancell@canonical.com>2011-07-15 21:42:37 +1000
commit41e45603abc32860aecdd357fc3be937c6953cf3 (patch)
treea4eb481b0937f3c2eae0a9a65de5364d73e9968d /src/seat-xdmcp-session.h
parenta9f51d4869fe9e8c95ce964053706f101bf44188 (diff)
downloadlightdm-git-41e45603abc32860aecdd357fc3be937c6953cf3.tar.gz
Introduce a seat object
Diffstat (limited to 'src/seat-xdmcp-session.h')
-rw-r--r--src/seat-xdmcp-session.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/seat-xdmcp-session.h b/src/seat-xdmcp-session.h
new file mode 100644
index 00000000..9c8dba27
--- /dev/null
+++ b/src/seat-xdmcp-session.h
@@ -0,0 +1,42 @@
+/*
+ * Copyright (C) 2010-2011 Robert Ancell.
+ * Author: Robert Ancell <robert.ancell@canonical.com>
+ *
+ * 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 3 of the License, or (at your option) any later
+ * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
+ * license.
+ */
+
+#ifndef _SEAT_XDMCP_SESSION_H_
+#define _SEAT_XDMCP_SESSION_H_
+
+#include "seat.h"
+#include "xdmcp-session.h"
+
+G_BEGIN_DECLS
+
+#define SEAT_XDMCP_SESSION_TYPE (seat_xdmcp_session_get_type())
+#define SEAT_XDMCP_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SEAT_XDMCP_SESSION_TYPE, SeatXDMCPSession))
+
+typedef struct SeatXDMCPSessionPrivate SeatXDMCPSessionPrivate;
+
+typedef struct
+{
+ Seat parent_instance;
+ SeatXDMCPSessionPrivate *priv;
+} SeatXDMCPSession;
+
+typedef struct
+{
+ SeatClass parent_class;
+} SeatXDMCPSessionClass;
+
+GType seat_xdmcp_session_get_type (void);
+
+SeatXDMCPSession *seat_xdmcp_session_new (XDMCPSession *session);
+
+G_END_DECLS
+
+#endif /* _SEAT_XDMCP_SESSION_H_ */