dde-application-manager/api/dbus/org.desktopspec.ApplicationManager1.xml

34 lines
1.4 KiB
XML
Raw Normal View History

<!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.ApplicationManager1">
<property type="ao" access="read" name="List" />
<method name="ReloadApplications">
<annotation
name="org.freedesktop.DBus.Description"
value="This method is used to update the desktop file cache when needed.
You can pass a list of absolute paths to files or directories that you want to update.
Note: Application Manager only supports directory paths in $XDG_DATA_DIRS."
/>
</method>
<method name="Identify">
<arg type="h" name="pidfd" direction="in" />
<arg type="s" name="id" direction="out" />
<arg type="o" name="application" direction="out" />
<arg type="o" name="application_instance" direction="out" />
<annotation
name="org.freedesktop.DBus.Description"
value="Given a pidfd,
this method return a destkop file id,
an application instance object path,
as well as an application object path.
NOTE:
1. You should use pidfd_open(2) to get a pidfd."
/>
</method>
</interface>
</node>