2 * Copyright (C) 2010-2016 Canonical Ltd.
4 * This program is free software: you can redistribute it and/or modify it under
5 * the terms of the GNU General Public License as published by the Free Software
6 * Foundation, either version 3 of the License, or (at your option) any later
7 * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
11 #ifndef X_SERVER_XMIR_H_
12 #define X_SERVER_XMIR_H_
14 #include "x-server-local.h"
15 #include "unity-system-compositor.h"
19 #define X_SERVER_XMIR_TYPE (x_server_xmir_get_type())
20 #define X_SERVER_XMIR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), X_SERVER_XMIR_TYPE, XServerXmir))
21 #define IS_X_SERVER_XMIR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), X_SERVER_XMIR_TYPE))
23 typedef struct XServerXmirPrivate XServerXmirPrivate;
27 XServerLocal parent_instance;
28 XServerXmirPrivate *priv;
33 XServerLocalClass parent_class;
36 GType x_server_xmir_get_type (void);
38 XServerXmir *x_server_xmir_new (UnitySystemCompositor *compositor);
40 void x_server_xmir_set_mir_id (XServerXmir *server, const gchar *id);
42 const gchar *x_server_xmir_get_mir_id (XServerXmir *server);
44 void x_server_xmir_set_mir_socket (XServerXmir *server, const gchar *socket);
46 const gchar *x_server_xmir_get_authority_file_path (XServerXmir *server);
50 #endif /* X_SERVER_XMIR_H_ */