initial change to grpc
[apps/homescreen.git] / homescreen / src / agl_shell.proto
1 syntax = "proto3";
2 import "google/protobuf/empty.proto";
3 package agl_shell_ipc;
4
5 service AglShellManagerService {
6        rpc ActivateApp(ActivateRequest)        returns (google.protobuf.Empty) {}
7        rpc DeactivateApp(DeactivateRequest)    returns (google.protobuf.Empty) {}
8        rpc SetAppSplit(SplitRequest)           returns (google.protobuf.Empty) {}
9        rpc SetAppFloat(FloatRequest)           returns (google.protobuf.Empty) {}
10 }
11
12 message ActivateRequest {
13        string app_id = 1;
14        string output_name = 2;
15 }
16
17 message DeactivateRequest {
18        string app_id = 1;
19 }
20
21 message SplitRequest {
22        string app_id = 1;
23        int32 tile_orientation = 2;
24 }
25
26 message FloatRequest {
27        string app_id = 1;
28 }
29