forked from alesimula/wsa_pacman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.proto
38 lines (33 loc) · 816 Bytes
/
options.proto
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
syntax = "proto2";
package proto;
option optimize_for = SPEED;
message Options {
// App options
optional uint32 ipAddress = 1 [default = 2130706433];
optional uint32 port = 2 [default = 58526];
optional bool autostart = 8;
optional uint32 timeout = 10 [default = 30];
// Interface options
optional uint32 locale = 9;
// Theme options
optional Theme theme = 3;
optional bool legacyIcons = 4;
optional bool systemAccent = 5;
optional IconShape iconShape = 6;
optional Mica mica = 7 [default = FULL];
enum Theme {
SYSTEM = 0;
LIGHT = 1;
DARK = 2;
}
enum IconShape {
SQUIRCLE = 0;
CIRCLE = 1;
ROUNDED_SQUARE = 2;
}
enum Mica {
FULL = 0;
PARTIAL = 1;
DISABLED = 2;
}
}