diff options
author | Arnaud Ferraris <arnaud.ferraris@collabora.com> | 2021-12-01 20:09:30 +0100 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2021-12-20 18:02:20 -0500 |
commit | d388e92df803d0c8a7b0c18762b0900796e348d1 (patch) | |
tree | 213ecdfbfc41e677700c47ff492912637fce4039 /data/org.automotivelinux.AppLaunch.xml | |
parent | d58aab33e54bea28a33a5ef6b62a5a3e5b6003d1 (diff) |
applaunchd: Initial commit
`applaunchd` is a new service, dedicated to starting and monitoring
applications. It is part of the Application Framework rework.
Bug-AGL: SPEC-4160
Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Change-Id: I9543957f9065670e9112556f5cd2b31d0b2ab9d9
Diffstat (limited to 'data/org.automotivelinux.AppLaunch.xml')
-rw-r--r-- | data/org.automotivelinux.AppLaunch.xml | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/data/org.automotivelinux.AppLaunch.xml b/data/org.automotivelinux.AppLaunch.xml new file mode 100644 index 0000000..52aa20b --- /dev/null +++ b/data/org.automotivelinux.AppLaunch.xml @@ -0,0 +1,74 @@ +<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> + +<!-- + AppLaunch Interface Specification + + Copyright (C) 2021 Collabora Ltd +--> +<node name="/org/automotivelinux/AppLaunch" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd"> + + <!-- + org.automotivelinux.AppLaunch: + @short_description: The AppLaunch interface. + + The AppLaunch interface allows requesting application startup and + being notified of application startup and termination events. + --> + <interface name="org.automotivelinux.AppLaunch"> + + <!-- + start: + @appid: Application ID, should match: + - the xdg-shell app-id for graphical applications started + through a command line + - the D-Bus name owned by the application for D-Bus activated + apps + + Start the application with the corresponding application ID. + --> + <method name="start"> + <arg name="appid" type="s" direction="in"/> + </method> + + <!-- + listApplications: + @graphical: Whether the should should be limited to graphical + applications. + @applist: The application list as an array of variants. Each array item + is an application entry, represented as a structure of 3 strings: + - application ID + - application name + - absolute icon path + + Retrieve the list of applications which can be started using this interface. + --> + <method name="listApplications"> + <arg name="graphical" type="b" direction="in"/> + <arg name="applist" type="av" direction="out"/> + </method> + + <!-- + started: + @appid: Application ID + + Emitted when an application started successfully, which happens when: + - the D-Bus name has been taken for D-Bus activated applications + - the process was created for other applications + --> + <signal name="started"> + <arg name="appid" type="s"/> + </signal> + + <!-- + terminated: + @appid: Application ID + + Emitted when an application terminated, which happens when: + - the D-Bus name has been released for D-Bus activated applications + - the process exited for other applications + --> + <signal name="terminated"> + <arg name="appid" type="s"/> + </signal> + </interface> +</node> |