Commit f4c9d478 authored by Guido Gunther's avatar Guido Gunther Committed by Guido Gunther
Browse files

dbus: Add org.freedesktop.hostname1 interface



So we can cherry the chassis type
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent a80d73a5
......@@ -6,6 +6,11 @@ generated_dbus_sources += gnome.gdbus_codegen('iio-sensor-proxy-dbus',
'net.hadess.SensorProxy.xml',
interface_prefix: 'net.hadess',
namespace: 'PhoshDBus')
# org.freedesktop.hostname1
generated_dbus_sources += gnome.gdbus_codegen('hostname1-dbus',
'org.freedesktop.hostname1.xml',
interface_prefix: 'org.freedesktop',
namespace: 'PhoshHostname1DBus')
# org.freedesktop.UPower.Torch
generated_dbus_sources += gnome.gdbus_codegen('upower-torch-dbus',
'org.freedesktop.UPower.Torch.xml',
......
<!DOCTYPE node PUBLIC
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<interface name="org.freedesktop.hostname1">
<property name="Chassis" type="s" access="read"/>
</interface>
</node>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment