]>
Commit | Line | Data |
---|---|---|
99997823 MAL |
1 | /* |
2 | * D-Bus module support. | |
3 | * | |
4 | * Copyright (C) 2021 Red Hat, Inc. | |
5 | * | |
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. | |
10 | * | |
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. | |
15 | * | |
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/>. | |
18 | */ | |
19 | ||
20 | #include "qemu/osdep.h" | |
21 | #include "qapi/error.h" | |
22 | #include "ui/dbus-module.h" | |
23 | ||
24 | int using_dbus_display; | |
25 | ||
26 | static bool | |
27 | qemu_dbus_display_add_client(int csock, Error **errp) | |
28 | { | |
29 | error_setg(errp, "D-Bus display isn't enabled"); | |
30 | return false; | |
31 | } | |
32 | ||
33 | struct QemuDBusDisplayOps qemu_dbus_display = { | |
34 | .add_client = qemu_dbus_display_add_client, | |
35 | }; |