blob: 9b8a53e87256ee92c0f0c7d73efcc398fd577974 (
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
|
#ifndef CONFIG_H
#define CONFIG_H
#include <vector>
#include "Proxy.h"
class ProxyEntryGeneric;
class ProxyEntryStatic;
class Config
{
public:
static Config *CurrentConfig();
void AcquireConfig();
bool IsConfigValid();
protected:
Config();
private:
static Config *self;
bool configValid;
std::vector<ProxyEntryGeneric> genericProxy;
std::vector<ProxyEntryStatic> staticProxy;
int ReadGenericProxy();
int ReadStaticProxy();
};
#endif
|