feat: add objectManager interface
refact the way to get DBus interface from Qt Meta System Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
19
api/dbus/org.desktopspec.ObjectManager1.xml
Normal file
19
api/dbus/org.desktopspec.ObjectManager1.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "https://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
||||
<node>
|
||||
<interface name="org.desktopspec.DBus.ObjectManager">
|
||||
<method name="GetManagedObjects">
|
||||
<arg name="objectpath_and_interfaces" type="a{oas}" direction="out" />
|
||||
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="ObjectMap"/>
|
||||
</method>
|
||||
|
||||
<signal name="InterfacesAdded">
|
||||
<arg name="object_path" type="o" />
|
||||
<arg name="interfaces" type="as" />
|
||||
</signal>
|
||||
|
||||
<signal name="InterfacesRemoved">
|
||||
<arg name="object_path" type="o" />
|
||||
<arg name="interfaces" type="as" />
|
||||
</signal>
|
||||
</interface>
|
||||
</node>
|
Reference in New Issue
Block a user