summaryrefslogtreecommitdiffstats
path: root/protocol/agl_shell.proto
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-10-09 12:52:14 +0300
committerMarius Vlad <marius.vlad@collabora.com>2022-10-21 20:16:53 +0300
commit68dab999a68e42af926e8e6b1f7adb834bea6d51 (patch)
tree025f5ee22f9481d40aa7140b304abad092e35fac /protocol/agl_shell.proto
parent8b661b747c67e7af7730d058392980a08ca3f07a (diff)
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 <marius.vlad@collabora.com> Change-Id: I5f5e8426d52ed7bf2e264be78c6572388afa53af
Diffstat (limited to 'protocol/agl_shell.proto')
-rw-r--r--protocol/agl_shell.proto29
1 files changed, 29 insertions, 0 deletions
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;
+}
+