aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/homescreen.pro
diff options
context:
space:
mode:
authorArnaud Ferraris <arnaud.ferraris@collabora.com>2021-12-01 16:51:52 +0100
committerArnaud Ferraris <arnaud.ferraris@collabora.com>2021-12-20 21:04:12 +0100
commitfda3079ca8ff4a6ec6a67981ba1cdc56a8c0c3ab (patch)
tree8aa4fafd2f1bb18246ce7d94ce8911e143f9845b /homescreen/homescreen.pro
parent2b7ca7a6eeb79e03507abb7a16b0503591d2b064 (diff)
homescreenhandler: use applaunchd for app activationmarlin_12.91.0marlin/12.91.012.91.0
As part of the App FW rework, we introduced a new app launcher service, accessible through D-Bus. This service accepts requests to activate applications, and notifies when a application successfully activated or terminated. Requests for activation are handled by a separate `launcher` application for now, so we only need to listen on incoming signals in order to react to those: - when an application successfully started or is switched to, ask the compositor to activate it - when an application terminates, activate the launcher so the user isn't facing a "blank" display Bug-AGL: SPEC-4160 Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com> Change-Id: I7369944570651b45ec9dcca9ccde3dfd75719c3b
Diffstat (limited to 'homescreen/homescreen.pro')
-rw-r--r--homescreen/homescreen.pro5
1 files changed, 3 insertions, 2 deletions
diff --git a/homescreen/homescreen.pro b/homescreen/homescreen.pro
index 0bf98fb..7e93e02 100644
--- a/homescreen/homescreen.pro
+++ b/homescreen/homescreen.pro
@@ -15,10 +15,12 @@
TEMPLATE = app
TARGET = homescreen
-QT = qml quick gui-private
+QT = qml quick gui-private dbus
CONFIG += c++11 link_pkgconfig wayland-scanner
PKGCONFIG += wayland-client
+DBUS_INTERFACES = $$[QT_SYSROOT]/usr/share/dbus-1/interfaces/org.automotivelinux.AppLaunch.xml
+
SOURCES += \
src/main.cpp \
src/shell.cpp \
@@ -37,7 +39,6 @@ HEADERS += \
src/mastervolume.h \
src/homescreenhandler.h
-
OTHER_FILES += \
README.md