summaryrefslogtreecommitdiffstats
path: root/protocol/agl_shell.proto
blob: 414162b08ee906aae20faea6697caff03a4f595a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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) {}
       rpc AppStatusState(google.protobuf.Empty) 	returns (stream AppState) {}
}

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;
}

message AppState {
	int32 state = 1;
	string app_id = 2;
}