forked from quickshell/quickshell
dbus: create property helper classes
Handles asynchronous property updates, part of the work for StatusNotifierItems.
This commit is contained in:
parent
8529a2eb22
commit
8e530b6b77
6 changed files with 530 additions and 0 deletions
26
src/dbus/org.freedesktop.DBus.Properties.xml
Normal file
26
src/dbus/org.freedesktop.DBus.Properties.xml
Normal file
|
@ -0,0 +1,26 @@
|
|||
<node>
|
||||
<interface name="org.freedesktop.DBus.Properties">
|
||||
<method name="Get">
|
||||
<arg name="interface_name" direction="in" type="s"/>
|
||||
<arg name="property_name" direction="in" type="s"/>
|
||||
<arg name="value" direction="out" type="v"/>
|
||||
</method>
|
||||
<method name="Set">
|
||||
<arg name="interface_name" direction="in" type="s"/>
|
||||
<arg name="property_name" direction="in" type="s"/>
|
||||
<arg name="value" direction="in" type="v"/>
|
||||
</method>
|
||||
<method name="GetAll">
|
||||
<arg name="interface_name" direction="in" type="s"/>
|
||||
<arg name="props" direction="out" type="a{sv}"/>
|
||||
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/>
|
||||
</method>
|
||||
|
||||
<signal name="PropertiesChanged">
|
||||
<arg type="s" name="interface_name"/>
|
||||
<arg type="a{sv}" name="changed_properties"/>
|
||||
<arg type="as" name="invalidated_properties"/>
|
||||
<annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="QVariantMap" />
|
||||
</signal>
|
||||
</interface>
|
||||
</node>
|
Loading…
Add table
Add a link
Reference in a new issue