From e23f72738a41ada892e8979aaa9cea318e9d941a Mon Sep 17 00:00:00 2001 From: Alex Borisov Date: Sat, 7 Jan 2012 04:45:01 +0200 Subject: FIX turn off generic proxies correctly --- client/Proxifier.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'client/Proxifier.h') diff --git a/client/Proxifier.h b/client/Proxifier.h index af27b80..3af8ffe 100644 --- a/client/Proxifier.h +++ b/client/Proxifier.h @@ -29,7 +29,6 @@ public: * @return pointer to Proxifier singleton */ static Proxifier* GetInstance(); - /** * @brief Chack if the current config is valid * @return true if the config is valid or false otherwise @@ -40,6 +39,11 @@ public: * @brief Check if certain server is turned on in Proxifier's tules and list */ bool IsOn(string& addr, short port); + /** + * @brief Get list of proxies that is being used by Proxifier right now + * @return list of active Proxy records + */ + vector GetActiveProxies(); /** * @brief turn proxy on, all traffic will go throught this proxy * @param proxy Proxy class that represents particular proxy -- cgit v1.2.3