diff options
author | Alex Borisov <borisov.alexandr@rambler.ru> | 2011-11-27 12:31:03 +0200 |
---|---|---|
committer | Alex Borisov <borisov.alexandr@rambler.ru> | 2011-11-27 12:31:03 +0200 |
commit | a19e9744751d4278f56cb3b6ff885c0068f03a3d (patch) | |
tree | c33901631e352a48594700a11505e8f74bfa0368 /client/Config.h | |
parent | 474acc85db4e403d8207f1744de18bfc4a5f0acd (diff) |
File downloading (no MD5 hash check yet). Various fixes
Diffstat (limited to 'client/Config.h')
-rw-r--r-- | client/Config.h | 28 |
1 files changed, 16 insertions, 12 deletions
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); }; /** @@ -127,14 +127,6 @@ public: void AcquireConfig(); /** - * @brief Check whether current confguration is valid <br/> - * 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<br/> * (generic proxy records only) * @return Alphabetically sorted vector<string> with unique country names @@ -200,9 +192,21 @@ public: unsigned GetStaticProxyGuiLines(); /** - * Static proxy speed value limit.<br/> - * 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<FileEntry> GetDeleteList(); + + /** + * @brief Get list of files to be downloaded + * @return List of FileEntry wrapper object that describe files that should be downloaded + */ + vector<FileEntry> GetDownloadList(); + + /** + * @brief Static proxy speed value limit.<br/> + * 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: |