From 68dab999a68e42af926e8e6b1f7adb834bea6d51 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Sun, 9 Oct 2022 12:52:14 +0300 Subject: clients/grpc: Initial start for gRPC proxy The proxy helper client would bind to the agl-shell protocol interface but also create a gRPC server which implements the agl-shell protobuf interface. The gRPC server implementation created in this helper client would be used by regular clients if they would require further change the window management or change window properties. Note that this is an initial bring-up with some of implementation being a stub, as the window properties would actually be implemented when expanding the agl-shell private extension. The hooks in the gRPC implementation that are in place are: - xxx - yyy - zzz - ttt Signed-off-by: Marius Vlad Change-Id: I5f5e8426d52ed7bf2e264be78c6572388afa53af --- protocol/agl_shell.proto | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 protocol/agl_shell.proto (limited to 'protocol/agl_shell.proto') diff --git a/protocol/agl_shell.proto b/protocol/agl_shell.proto new file mode 100644 index 0000000..721fac2 --- /dev/null +++ b/protocol/agl_shell.proto @@ -0,0 +1,29 @@ +syntax = "proto3"; +import "google/protobuf/empty.proto"; +package agl_shell_ipc; + +service AglShellManagerService { + rpc ActivateApp(ActivateRequest) returns (google.protobuf.Empty) {} + rpc DeactivateApp(DeactivateRequest) returns (google.protobuf.Empty) {} + rpc SetAppSplit(SplitRequest) returns (google.protobuf.Empty) {} + rpc SetAppFloat(FloatRequest) returns (google.protobuf.Empty) {} +} + +message ActivateRequest { + string app_id = 1; + string output_name = 2; +} + +message DeactivateRequest { + string app_id = 1; +} + +message SplitRequest { + string app_id = 1; + int32 tile_orientation = 2; +} + +message FloatRequest { + string app_id = 1; +} + -- cgit 1.2.3-korg