blob: 368f2b8b238d126f2b5899eb83ee37122b260f7a (
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
38
39
40
41
42
43
|
#ifndef PROXY_H
#define PROXY_H
#include <string>
class Proxy
{
public:
std::string login;
std::string password;
std::string host;
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
|