AglShellGrpcClient: Add activation with gRPC proxy 07/29307/2
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 11 Oct 2023 09:08:16 +0000 (12:08 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 25 Oct 2023 21:41:50 +0000 (00:41 +0300)
commit36e2c9697e431414ae0263635f3ebf1f3c200723
tree5a4c103039ee6e0a7f68c3e34248893f3425899a
parent8db829a4a790e30b5dfd27b531aa8018918fde10
AglShellGrpcClient: Add activation with gRPC proxy

This follow-ups in footsteps of flutter-homescreen to have activation
using gRPC. Note that setting up wayland surfaces is still need to
have the agl-shell protocol available. In Qt this is managed directly
by Qt/QPA while on other toolkits this happens at a lower level
(flutter-auto or chromium CEF).

With it, create a listening thread for gRRC events in order to perform
the initial start + activate sequence.

Bug-AGL: SPEC-4912
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I019d0e7944dde02c84b2841e22d3971f226d610a
homescreen/meson.build
homescreen/proto/agl_shell.proto [new file with mode: 0644]
homescreen/src/AglShellGrpcClient.cpp [new file with mode: 0644]
homescreen/src/AglShellGrpcClient.h [new file with mode: 0644]
homescreen/src/homescreenhandler.cpp
homescreen/src/homescreenhandler.h
homescreen/src/main.cpp