-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetupeepg.h
54 lines (45 loc) · 890 Bytes
/
setupeepg.h
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
44
45
46
47
48
49
50
51
52
53
54
/*
* setupeepg.h
*
* Created on: 08.5.2012
* Author: d.petrovski
*/
#ifndef SETUPEEPG_H_
#define SETUPEEPG_H_
#include <string.h>
class cSetupEEPG
{
public:
int OptPat;
int OrderInfo;
int RatingInfo;
int FixEpg;
int DisplayMessage;
int ProcessEIT;
int ReplaceEmptyShText;
int FixCharset;
#ifdef DEBUG
int LogLevel;
#endif
public:
static cSetupEEPG* getInstance();
char* getConfDir() const
{
return ConfDir;
}
void setConfDir(char* confDir)
{
if (ConfDir)
delete [] ConfDir;
ConfDir = new char[strlen(confDir)+1];
strcpy(ConfDir, confDir);
}
private:
cSetupEEPG (void);
cSetupEEPG(cSetupEEPG const&); // copy constructor is private
cSetupEEPG& operator=(cSetupEEPG const&); // assignment operator is private
static cSetupEEPG* _setupEEPG;
private:
char *ConfDir;
};
#endif /* SETUPEEPG_H_ */