feat: add property Launcher, Orphaned

refactor some method which are related with systemd unit

Signed-off-by: ComixHe <heyuming@deepin.org>
This commit is contained in:
ComixHe
2023-09-13 16:52:53 +08:00
committed by Comix
parent 23dcd13f10
commit bc7fbfb3a1
14 changed files with 168 additions and 82 deletions

View File

@ -25,5 +25,21 @@
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>