summaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2015-09-13 08:17:15 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2015-09-13 08:17:15 +0300
commiteb5bc25a3ce4eb9a650e433a5206f535c54b453c (patch)
tree913aaa9450937ebe6553195d853ed69b7a47bddc /protocol
parent53ecb7e48ede8dbfde85b6452d3fdbd7c56ae01e (diff)
protocol:
added "data_required" field to module_download_ui_element_info for download creation ui renamed download_children_menu to download_content_menu as it's more apropriate name server: added "data_required" field to module_download_ui_element_info_s for download creation ui changed "id" field in module_download_menu_element_info_s from string to int implemented helper functions to fill module_info protobuff structure implemented most of module_info structures filling (tested, working) client: basic implementation of "download add widget" "marked_class" template for adding module defined id's to ui elements basic action buttons toolbar in main windows
Diffstat (limited to 'protocol')
-rw-r--r--protocol/udm.proto6
1 files changed, 4 insertions, 2 deletions
diff --git a/protocol/udm.proto b/protocol/udm.proto
index 029183f..120fc9e 100644
--- a/protocol/udm.proto
+++ b/protocol/udm.proto
@@ -37,9 +37,11 @@ message module_download_ui_element_info {
required int32 id = 2; //internal element id used to get element value (should be unique for every loaded module)
optional string name = 3 [default = "not set"]; //can be non unique
optional string description = 4;
- repeated module_download_ui_element_info children = 5;
+ optional bool data_required = 5 [default = false]; //ui element may required data specified (used in download creation ui)
+ repeated module_download_ui_element_info children = 6;
}
+
message module_download_menu_element_info {
required int32 id = 1;
required string name = 2;
@@ -247,7 +249,7 @@ message module_info //general module info for client including settings, downloa
repeated module_download_ui_element_info download_info_ui = 6; //always complete here
repeated module_download_ui_element_info download_creation_ui = 7;
repeated module_download_menu_element_info download_menu = 8;
- repeated module_download_menu_element_info download_children_menu = 9; //menu for files and folders inside download root, may not present
+ repeated module_download_menu_element_info download_content_menu = 9; //menu for files and folders inside download root, may not present
repeated string_pair get_downloads_parameters_info = 10;
}