From 12eba4d75931c5e48dac70b1a7dbad7861d059df Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 30 Aug 2015 12:02:06 +0300 Subject: protocol: more download related structures (synced with api) server: api: get_download instead of get_download_info core: added settings values to SERVER_CORE_INFO_REPLY curl_module: sync with api changes --- server/include/api_module_downloader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/include/api_module_downloader.h') diff --git a/server/include/api_module_downloader.h b/server/include/api_module_downloader.h index d980d62..dbe0d14 100644 --- a/server/include/api_module_downloader.h +++ b/server/include/api_module_downloader.h @@ -92,7 +92,7 @@ public: virtual bool delete_download(int download_id, bool delete_data = false) = 0; //delete download by id received via add_download, if "delete_data" is set, also remove all downloaded data from storage, return true on success, false otherwise virtual bool execute_action_on_download(int download_id, int action_id) = 0; //execute module defined action on download, by id received via add_download virtual std::list get_downloads(std::map params = std::map()) = 0; //this function must return list of downloads, additional options may be passed via params map - virtual download_s get_download_info(int download_id, std::map params = std::map()) = 0; //same as above, except this one is for single download, not a complete list + virtual download_s get_download(int download_id, std::map params = std::map()) = 0; //same as above, except this one is for single download, not a complete list protected: downloader_module_info info; }; -- cgit v1.2.3