summaryrefslogtreecommitdiff
path: root/client/proxy.h
blob: 321922aa96202ae2e0eb6b0184b32c8fd97fef74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

#include <client.h>

class Proxy
{
public:
	std::string login;
	std::string password;
	std::string host;
	short port;
	
	Proxy(): port(0) {}
	virtual void Parse(std::string entry);
};


class ProxyEntry: public Proxy
{
public:
	std::string country;
	std::string state;
	std::string city;
	
	ProxyEntry(): Proxy() {}
	void Parse(std::string entry);
};


class ProxyEntryStatic: public Proxy
{
public:
	std::string name;
	int position;
	
	ProxyEntryStatic(): Proxy(), position(0) {}
	void Parse(std::string entry);
};