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