blob: 0b8e0fcc6b016f675da54176f69c55c48b2f3733 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
syntax = "proto3";
package automotivegradelinux;
service AppLauncher {
rpc StartApplication(StartRequest) returns (StartResponse) {}
rpc ListApplications(ListRequest) returns (ListResponse) {}
rpc GetStatusEvents(StatusRequest) returns (stream StatusResponse) {}
}
message StartRequest {
string id = 1;
}
message StartResponse {
bool status = 1;
string message = 2;
}
message ListRequest {
}
message ListResponse {
repeated AppInfo apps = 1;
}
message AppInfo {
string id = 1;
string name = 2;
string icon_path = 3;
}
message StatusRequest {
}
message AppStatus {
string id = 1;
string status = 2;
}
// Future-proofing for e.g. potentially signaling a list refresh
message LauncherStatus {
}
message StatusResponse {
oneof status {
AppStatus app = 1;
LauncherStatus launcher = 2;
}
}
|