]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - src/seat-xvnc.h
Don't quit on SIGUSR1, SIGUSR2 or SIGHUP
[sojka/lightdm.git] / src / seat-xvnc.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_XVNC_H_
13 #define SEAT_XVNC_H_
14
15 #include <glib-object.h>
16 #include "seat.h"
17
18 G_BEGIN_DECLS
19
20 #define SEAT_XVNC_TYPE (seat_xvnc_get_type())
21 #define SEAT_XVNC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SEAT_XVNC_TYPE, SeatXVNC))
22
23 typedef struct SeatXVNCPrivate SeatXVNCPrivate;
24
25 typedef struct
26 {
27     Seat               parent_instance;
28     SeatXVNCPrivate *priv;
29 } SeatXVNC;
30
31 typedef struct
32 {
33     SeatClass parent_class;
34 } SeatXVNCClass;
35
36 GType seat_xvnc_get_type (void);
37
38 SeatXVNC *seat_xvnc_new (GSocket *connection);
39
40 G_END_DECLS
41
42 #endif /* SEAT_XVNC_H_ */