2 * Copyright (C) 2015 Canonical Ltd.
3 * Author: Robert Ancell <robert.ancell@canonical.com>
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
12 #ifndef WAYLAND_SESSION_H_
13 #define WAYLAND_SESSION_H_
15 #include <glib-object.h>
16 #include "display-server.h"
20 #define WAYLAND_SESSION_TYPE (wayland_session_get_type())
21 #define WAYLAND_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WAYLAND_SESSION_TYPE, WaylandSession))
22 #define IS_WAYLAND_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WAYLAND_SESSION_TYPE))
24 typedef struct WaylandSessionPrivate WaylandSessionPrivate;
28 DisplayServer parent_instance;
29 WaylandSessionPrivate *priv;
34 DisplayServerClass parent_class;
35 } WaylandSessionClass;
37 GType wayland_session_get_type (void);
39 WaylandSession *wayland_session_new (void);
41 void wayland_session_set_vt (WaylandSession *session, gint vt);
45 #endif /* WAYLAND_SESSION_H_ */