From 7ffab2f5720cb4cc831612cfe678ab8f9b00a62d Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Sat, 10 Sep 2022 12:59:02 -0400 Subject: Rework to use launcher wrapper from libqtappfw Changes: - Switch to using the new app launcher API wrapper from libqtappfw in order to migrate to the new gRPC based API implementation. - The appStarted and appTerminated methods in HomescreenHandler have been renamed to activateApp and deactivateApp, respectively, to better reflect what they do. A new processAppStatusEvent method had been added that calls them as appropriate based on the event from the AppLauncherClient status update signal. - The copyright headers in the source files have been tweaked to remove the Apache license boilerplate in favour of a SPDX license tag. - The code in main.cpp that was not formatted with Linux-style has been reformatted to match the rest of the file. Bug-AGL: SPEC-4559 Signed-off-by: Scott Murray Change-Id: I236cb6a412945a6df7d35652c55f664264964f9c (cherry picked from commit 20f629dd6d8628611d950073c4f7a0446c40365a) --- homescreen/homescreen.pro | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'homescreen/homescreen.pro') diff --git a/homescreen/homescreen.pro b/homescreen/homescreen.pro index 00ed5e7..c713c76 100644 --- a/homescreen/homescreen.pro +++ b/homescreen/homescreen.pro @@ -15,11 +15,10 @@ TEMPLATE = app TARGET = homescreen -QT = qml quick gui-private dbus +QT = qml quick gui-private CONFIG += c++11 link_pkgconfig wayland-scanner -PKGCONFIG += wayland-client qtappfw-weather qtappfw-network qtappfw-bt qtappfw-vehicle-signals - -DBUS_INTERFACES = $$[QT_SYSROOT]/usr/share/dbus-1/interfaces/org.automotivelinux.AppLaunch.xml +PKGCONFIG += wayland-client +PKGCONFIG += qtappfw-weather qtappfw-network qtappfw-bt qtappfw-vehicle-signals qtappfw-applauncher SOURCES += \ src/main.cpp \ -- cgit 1.2.3-korg