exec: Restrict inclusion of 'user/guest-base.h'
[qemu/armbru.git] / include / ui / dbus-display.h
blob7c9ec1a069e1321170d8b0c395647b705f9da8e3
1 #ifndef DBUS_DISPLAY_H
2 #define DBUS_DISPLAY_H
4 #include "qapi/error.h"
5 #include "ui/dbus-module.h"
7 static inline bool qemu_using_dbus_display(Error **errp)
9 if (!using_dbus_display) {
10 error_set(errp, ERROR_CLASS_DEVICE_NOT_ACTIVE,
11 "D-Bus display is not in use");
12 return false;
14 return true;
17 #endif /* DBUS_DISPLAY_H */