Go to the documentation of this file.
13 #include <arpa/inet.h>
25 #define VDRVERSION "2.0.2"
26 #define VDRVERSNUM 20002 // Version * 10000 + Major * 100 + Minor
30 #define APIVERSION "2.0.0"
31 #define APIVERSNUM 20000 // Version * 10000 + Major * 100 + Minor
39 #define MAXPRIORITY 99
40 #define MINPRIORITY (-MAXPRIORITY)
41 #define LIVEPRIORITY 0 // priority used when selecting a device for live viewing
42 #define TRANSFERPRIORITY (LIVEPRIORITY - 1) // priority used for actual local Transfer Mode
43 #define IDLEPRIORITY (MINPRIORITY - 1) // priority of an idle device
44 #define MAXLIFETIME 99
45 #define DEFINSTRECTIME 180 // default instant recording time (minutes)
47 #define TIMERMACRO_TITLE "TITLE"
48 #define TIMERMACRO_EPISODE "EPISODE"
51 #define MAINMENUHOOKSVERSION "1.0.1"
52 #define MAINMENUHOOKSVERSNUM 10001 // Version * 10000 + Major * 100 + Minor
54 #define MINOSDWIDTH 480
55 #define MAXOSDWIDTH 1920
56 #define MINOSDHEIGHT 324
57 #define MAXOSDHEIGHT 1200
59 #define MaxFileName NAME_MAX // obsolete - use NAME_MAX directly instead!
60 #define MaxSkinName 16
61 #define MaxThemeName 16
70 #define STANDARD_DVB 0
71 #define STANDARD_ANSISCTE 1
81 bool Parse(
const char *s);
119 bool Load(
const char *
FileName = NULL,
bool AllowComments =
false,
bool MustExist =
false)
127 bool result = !MustExist;
136 while ((s = ReadLine.
Read(f)) != NULL) {
139 char *p = strchr(s,
'#');
163 fprintf(stderr,
"vdr: error while reading '%s'\n",
fileName);
169 T *l = (T *)this->
First();
212 bool Load(
const char *FileName);
250 bool Parse(
const char *
Name,
const char *Value);
252 void Store(
const char *
Name,
const char *Value,
const char *Plugin = NULL,
bool AllowMultiple =
false);
253 void Store(
const char *
Name,
int Value,
const char *Plugin = NULL);
254 void Store(
const char *
Name,
double &Value,
const char *Plugin = NULL);