diff options
Diffstat (limited to 'client/Config.h')
-rw-r--r-- | client/Config.h | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/client/Config.h b/client/Config.h index ad30ebf..9d9e9eb 100644 --- a/client/Config.h +++ b/client/Config.h @@ -55,18 +55,35 @@ public: * @brief Get list of cities in particular country without states<br/> * (generic proxy records only) * @param country name of country to get list of states for - * @return Alphabetically sorted vector<string> with unique city names<br/> + * @return Alphabetically sorted vector<string> with unique city names */ std::vector<std::string> GetCities(std::string &country); /** * @brief Get list of cities in particular country and state<br/> * (generic proxy records only) - * @param country name of country to get list of states for - * @param state name state to get list of proxies for<br/> + * @param country name of country to get list of cities for + * @param state name of state to get list of cities for * @return Alphabetically sorted vector<string> with unique city names */ 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 + */ + 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 + */ + std::vector<std::string> GetProxies(std::string &country, std::string &state, std::string &city); protected: Config(); private: |