/src/qemu/include/ui/dbus-display.h
Line | Count | Source |
1 | | #ifndef DBUS_DISPLAY_H |
2 | | #define DBUS_DISPLAY_H |
3 | | |
4 | | #include "qapi/error.h" |
5 | | #include "ui/dbus-module.h" |
6 | | |
7 | | static inline bool qemu_using_dbus_display(Error **errp) |
8 | 0 | { |
9 | 0 | if (!using_dbus_display) { |
10 | 0 | error_set(errp, ERROR_CLASS_DEVICE_NOT_ACTIVE, |
11 | 0 | "D-Bus display is not in use"); |
12 | 0 | return false; |
13 | 0 | } |
14 | 0 | return true; |
15 | 0 | } Unexecuted instantiation: ui-qmp-cmds.c:qemu_using_dbus_display Unexecuted instantiation: dbusaudio.c:qemu_using_dbus_display |
16 | | |
17 | | #endif /* DBUS_DISPLAY_H */ |