diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-08-25 13:57:29 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-08-25 13:57:29 +0300 |
commit | cfaeb344fe18772a30d0b08eb1e230f067cb97cc (patch) | |
tree | f62cbb7b0883e4f7191f4c1310e181cdc9e12462 /server/include/api_module_downloader.h | |
parent | 1fdf82ec8346c12d19c9a013080ca4c26a3cb6d6 (diff) |
server:
id as integer in api
Diffstat (limited to 'server/include/api_module_downloader.h')
-rw-r--r-- | server/include/api_module_downloader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/include/api_module_downloader.h b/server/include/api_module_downloader.h index 872430d..4a31085 100644 --- a/server/include/api_module_downloader.h +++ b/server/include/api_module_downloader.h @@ -38,7 +38,8 @@ enum MODULE_UI_ELEMENT_TYPE_e { struct module_download_ui_element_info_s { MODULE_UI_ELEMENT_TYPE_e type = UI_EMPTY; std::list<module_download_ui_element_info_s> children; - std::string id,name; //internal element id used to get element value (should be unique for every loaded module), name can be non unique + std::string name; // name can be non unique + int id; //internal element id used to get element value (should be unique for every loaded module) }; //TODO: some mechanism for module to tell it's abilities, for example if it can provide download content, e.t.c. |