From 2fd868ae27d74305310e5bcd2a81cd07a87659b3 Mon Sep 17 00:00:00 2001 From: Alex Borisov Date: Wed, 21 Dec 2011 04:06:39 +0200 Subject: Generic proxy button work now. Proxy types support --- client/Config.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'client/Config.h') diff --git a/client/Config.h b/client/Config.h index f7653e0..a6e9e6a 100644 --- a/client/Config.h +++ b/client/Config.h @@ -166,7 +166,7 @@ public: * @param city name of city to get list of proxies for * @return Alphabetically sorted vector with unique proxy names */ - vector GetProxies(string &country, string &city); + vector GetProxies(string &country, string &city); /** * @brief Get list of proxy server addresses in particular country, state and city
@@ -176,15 +176,23 @@ public: * @param city name of city to get list of proxies for * @return Alphabetically sorted vector with unique proxy names */ - vector GetProxies(string &country, string &state, string &city); + vector GetProxies(string &country, string &state, string &city); /** * @brief Get static proxy entry by name * @param name static proxy name - * @return ProxyEntryStatic object on success or false otherwise + * @return pointer to ProxyEntryStatic object on success or NULL otherwise */ ProxyEntryStatic* GetStaticProxy(string& name); + /** + * @brief Getgeneric proxy entry by host name and port values + * @param host host name of proxy to check for + * port port value of proxy to check for + * @return pointer to ProxyEntryGeneric object on success or NULL otherwise + */ + ProxyEntryGeneric* GetGenericProxy(string host, short port); + /** * @brief Get list of static proxy entries * @param line number of GUI line proxy list associated with -- cgit v1.2.3