diff options
author | Alex Borisov <b0ris@b0ris-satellite.localdomain> | 2012-01-07 04:45:01 +0200 |
---|---|---|
committer | Alex Borisov <b0ris@b0ris-satellite.localdomain> | 2012-01-07 04:45:01 +0200 |
commit | e23f72738a41ada892e8979aaa9cea318e9d941a (patch) | |
tree | 4560631e0698bb98a967c79704de0d64a5505c01 /client/Proxifier.h | |
parent | 04a67fd43d8a2d003ea79c7a1f1d94745a78d33c (diff) |
FIX turn off generic proxies correctly
Diffstat (limited to 'client/Proxifier.h')
-rw-r--r-- | client/Proxifier.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 @@ -41,6 +40,11 @@ public: */ 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<Proxy> GetActiveProxies(); + /** * @brief turn proxy on, all traffic will go throught this proxy * @param proxy Proxy class that represents particular proxy * @return true on success or false otherwise |