1. remove method: Application, Launch. (ApplicationManager1) 2. add property: IconName, DisplayName. (Application1) 3. refact the way of construct ApplicationService. 4. if Desktop Entry Key `Hidden` is true, this application wouldn't export to DBus. Signed-off-by: ComixHe <heyuming@deepin.org>
36 lines
1.5 KiB
XML
36 lines
1.5 KiB
XML
<!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="UpdateApplicationInfo">
|
|
<arg type="as" name="app_ids" direction="in" />
|
|
<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>
|