summaryrefslogtreecommitdiff
path: root/protocol/udm.proto
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/udm.proto')
-rw-r--r--protocol/udm.proto47
1 files changed, 44 insertions, 3 deletions
diff --git a/protocol/udm.proto b/protocol/udm.proto
index dd21b70..ccbff46 100644
--- a/protocol/udm.proto
+++ b/protocol/udm.proto
@@ -1,3 +1,44 @@
-message placeholder_message {
- required string placeholder_value = 1;
-} \ No newline at end of file
+
+
+
+
+enum UI_ELEMENT_TYPE {
+ STRING = 0;
+ INTEGER = 1;
+ PERCENT_BAR = 2;
+}
+
+message ui_element_info {
+ optional UI_ELEMENT_TYPE type = 1 [default = STRING];
+ required string id = 2; //internal element id used to get element value
+ optional string name = 3 [default = "not set"];
+}
+
+message module_info
+{
+ required string name = 1;
+ repeated ui_element_info ui_element = 2;
+ optional string decription = 3 [default = "no description specified"];
+}
+
+
+
+
+enum CLIENT_MSG_TYPE {
+ CLIENT_HELLO = 0;
+}
+
+message client_msg {
+ required CLIENT_MSG_TYPE type = 1;
+}
+
+
+
+
+enum SERVER_MSG_TYPE {
+ SERVER_HELLO = 0;
+}
+
+message server_msg {
+ required SERVER_MSG_TYPE type = 1;
+}