From a19e9744751d4278f56cb3b6ff885c0068f03a3d Mon Sep 17 00:00:00 2001 From: Alex Borisov Date: Sun, 27 Nov 2011 12:31:03 +0200 Subject: File downloading (no MD5 hash check yet). Various fixes --- client/Config.h | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'client/Config.h') diff --git a/client/Config.h b/client/Config.h index 2392898..466f93a 100644 --- a/client/Config.h +++ b/client/Config.h @@ -86,7 +86,7 @@ public: /** * @brief Extract and set instance variables from config line */ - void Parse(string entry, ActionType action); + void Parse(string entry, ActionType _action); }; /** @@ -126,14 +126,6 @@ public: */ void AcquireConfig(); - /** - * @brief Check whether current confguration is valid
- * It may become invalid in case if server is not reachable. - * So every time you want to access Config members or methods you should check this value - * @return true if configuration is valid and false otherwise - */ - bool IsConfigValid(); - /** * @brief Get list of country names where at least one proxy available
* (generic proxy records only) @@ -200,9 +192,21 @@ public: unsigned GetStaticProxyGuiLines(); /** - * Static proxy speed value limit.
- * This value is used to determine speed label color. - * All speed value below this constant will be red, higher values will be green + * @brief Get list of files to be deleted + * @return List of FileEntry wrapper object that describe files that should be deleted + */ + vector GetDeleteList(); + + /** + * @brief Get list of files to be downloaded + * @return List of FileEntry wrapper object that describe files that should be downloaded + */ + vector GetDownloadList(); + + /** + * @brief Static proxy speed value limit.
+ * This value is used to determine speed label color. + * All speed value below this constant will be red, higher values will be green */ const unsigned StaticProxySpeedLow; protected: -- cgit v1.2.3