refactor some method which are related with systemd unit Signed-off-by: ComixHe <heyuming@deepin.org>
46 lines
1.9 KiB
XML
46 lines
1.9 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.Instance">
|
|
<property name="Application" type="o" access="read">
|
|
<annotation
|
|
name="org.freedesktop.DBus.Description"
|
|
value="Object path of the Application.
|
|
That DBus object will impelement
|
|
org.desktopspec.ApplicationManager1.Application.
|
|
NOTE:
|
|
If the application is uninstalled, this object path
|
|
will be set to `/`."
|
|
/>
|
|
</property>
|
|
|
|
<property name="SystemdUnitPath" type="o" access="read">
|
|
<annotation
|
|
name="org.freedesktop.DBus.Description"
|
|
value="The systemd unit object path of this instance
|
|
under systemd user daemon.
|
|
Some other DE compoments can use this path to
|
|
use the cgroup interface provided by systemd.
|
|
NOTE:
|
|
This property MIGHT be empty
|
|
if this instance is not managed by systemd."
|
|
/>
|
|
</property>
|
|
|
|
<property name="Launcher" type="s" access="read">
|
|
<annotation
|
|
name="org.freedesktop.DBus.Description"
|
|
value="This property indicates which Application
|
|
launcher started this instance."
|
|
/>
|
|
</property>
|
|
|
|
<property name="Orphaned" type="b" access="read">
|
|
<annotation
|
|
name="org.freedesktop.DBus.Description"
|
|
value="This property indicates that the application
|
|
to which the instance belonged has been removed."
|
|
/>
|
|
</property>
|
|
</interface>
|
|
</node>
|