diff options
author | Alex <b0ris@b0ris-satellite.(none)> | 2011-11-01 02:49:07 +0200 |
---|---|---|
committer | Alex <b0ris@b0ris-satellite.(none)> | 2011-11-01 02:49:07 +0200 |
commit | 103a6a013b6e6df1d1dbbcd073fc9a931fa4cf0a (patch) | |
tree | c2e99d49e43fd6661e8568f8aac54b1445d7e9a8 /client/Config.h | |
parent | a6e060642537eadc3785a19f2b6daac0f63c5179 (diff) |
Fix generic proxy parsing bug. New generic proxy button layouting. Static proxy button functionality
Diffstat (limited to 'client/Config.h')
-rw-r--r-- | client/Config.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/client/Config.h b/client/Config.h index 9d9e9eb..868c859 100644 --- a/client/Config.h +++ b/client/Config.h @@ -68,22 +68,37 @@ public: */ std::vector<std::string> GetCities(std::string &country, std::string &state); - /* + /** * @brief Get list of proxy server addresses in particular country and city (without states)<br/> * (generic proxy records only) * @param country name of country to get list of proxies for * @param city name of city to get list of proxies for + * @return Alphabetically sorted vector<string> with unique proxy names */ std::vector<std::string> GetProxies(std::string &country, std::string &city); - /* + /** * @brief Get list of proxy server addresses in particular country, state and city<br/> * (generic proxy records only) * @param country name of country to get list of proxies for * @param state name of state to get list of proxies for * @param city name of city to get list of proxies for + * @return Alphabetically sorted vector<string> with unique proxy names */ std::vector<std::string> GetProxies(std::string &country, std::string &state, std::string &city); + + /** + * @brief Get list of static proxy entries + * @param line number of GUI line proxy list associated with + * @return List of static proxy entries in order as they appear in config file + */ + std::vector<ProxyEntryStatic> GetStaticProxyGuiLine(int line); + + /** + * @brief Get number of static proxy GUI lines + * @return number of static proxy GUI lines or 0 if none + */ + unsigned GetStaticProxyGuiLines(); protected: Config(); private: |