diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2011-09-11 15:45:10 +1000 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2011-09-11 15:45:10 +1000 |
commit | 42db614c0978158213736bd8dd3d03357fd3743f (patch) | |
tree | 32a32fdc33d9e31fa7299e6ad633ee9881f3a542 /src/seat-xvnc.h | |
parent | 651763363a183040fd74fde150319fb9d795e278 (diff) | |
download | lightdm-42db614c0978158213736bd8dd3d03357fd3743f.tar.gz |
Add VNC server support
Diffstat (limited to 'src/seat-xvnc.h')
-rw-r--r-- | src/seat-xvnc.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/seat-xvnc.h b/src/seat-xvnc.h new file mode 100644 index 00000000..64eec2ef --- /dev/null +++ b/src/seat-xvnc.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_xvnc_H_ +#define _SEAT_xvnc_H_ + +#include <glib-object.h> +#include "seat.h" + +G_BEGIN_DECLS + +#define SEAT_XVNC_TYPE (seat_xvnc_get_type()) +#define SEAT_XVNC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SEAT_XVNC_TYPE, SeatXVNC)) + +typedef struct SeatXVNCPrivate SeatXVNCPrivate; + +typedef struct +{ + Seat parent_instance; + SeatXVNCPrivate *priv; +} SeatXVNC; + +typedef struct +{ + SeatClass parent_class; +} SeatXVNCClass; + +GType seat_xvnc_get_type (void); + +SeatXVNC *seat_xvnc_new (GSocket *connection); + +G_END_DECLS + +#endif /* _SEAT_xvnc_H_ */ |