2 * D-Bus module support.
4 * Copyright (C) 2021 Red Hat, Inc.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 or
9 * (at your option) version 3 of the License.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
20 #include "qemu/osdep.h"
21 #include "qapi/error.h"
22 #include "ui/dbus-module.h"
24 int using_dbus_display
;
27 qemu_dbus_display_add_client(int csock
, Error
**errp
)
29 error_setg(errp
, "D-Bus display isn't enabled");
33 struct QemuDBusDisplayOps qemu_dbus_display
= {
34 .add_client
= qemu_dbus_display_add_client
,