]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - src/seat-xdmcp-session.h
Fix warning about display server parent
[sojka/lightdm.git] / src / seat-xdmcp-session.h
1 /*
2  * Copyright (C) 2010-2011 Robert Ancell.
3  * Author: Robert Ancell <robert.ancell@canonical.com>
4  *
5  * This program is free software: you can redistribute it and/or modify it under
6  * the terms of the GNU General Public License as published by the Free Software
7  * Foundation, either version 3 of the License, or (at your option) any later
8  * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
9  * license.
10  */
11
12 #ifndef SEAT_XDMCP_SESSION_H_
13 #define SEAT_XDMCP_SESSION_H_
14
15 #include "seat.h"
16 #include "xdmcp-session.h"
17
18 G_BEGIN_DECLS
19
20 #define SEAT_XDMCP_SESSION_TYPE (seat_xdmcp_session_get_type())
21 #define SEAT_XDMCP_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SEAT_XDMCP_SESSION_TYPE, SeatXDMCPSession))
22
23 typedef struct SeatXDMCPSessionPrivate SeatXDMCPSessionPrivate;
24
25 typedef struct
26 {
27     Seat                     parent_instance;
28     SeatXDMCPSessionPrivate *priv;
29 } SeatXDMCPSession;
30
31 typedef struct
32 {
33     SeatClass parent_class;
34 } SeatXDMCPSessionClass;
35
36 GType seat_xdmcp_session_get_type (void);
37
38 SeatXDMCPSession *seat_xdmcp_session_new (XDMCPSession *session);
39
40 G_END_DECLS
41
42 #endif /* SEAT_XDMCP_SESSION_H_ */