feat: implementation of the major feature of dbus service

Log:
Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
ComixHe
2023-07-24 14:12:59 +08:00
committed by Comix
parent 839383ecae
commit fe284e78b6
30 changed files with 1446 additions and 156 deletions

View File

@ -3,9 +3,7 @@
<interface name="org.desktopspec.ApplicationManager1.Application">
<annotation
name="org.freedesktop.DBus.Description"
value="This interface is designed to
provide a dbus interface of desktop file.
Missing fields will be added later."
value="This interface is designed to provide a dbus interface of desktop file. Missing fields will be added later."
/>
<property name="Actions" type="as" access="read">

View File

@ -2,6 +2,15 @@
<node>
<interface name="org.desktopspec.ApplicationManager1">
<property type="ao" access="read" name="List" />
<method name="UpdateApplicationInfo">
<arg type="as" name="update_path" 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="Application">
<arg type="s" name="id" direction="in" />