#ifndef PROXY_H #define PROXY_H #include class Proxy { public: std::string login; std::string password; std::string host; std::string type; short port; Proxy(): port(0) {} virtual void Parse(std::string entry); }; class ProxyEntryGeneric: public Proxy { public: std::string country; std::string state; std::string city; ProxyEntryGeneric(): Proxy() {} virtual void Parse(std::string entry); }; class ProxyEntryStatic: public Proxy { public: std::string name; unsigned position; unsigned speed; //kb per second ProxyEntryStatic(): Proxy(), position(0), speed(0) {} virtual void Parse(std::string entry); }; #endif