summaryrefslogtreecommitdiff
path: root/source.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2012-04-15 09:52:58 +0200
committerJochen Dolze <vdr@dolze.de>2012-04-15 09:52:58 +0200
commitaab813ecd75842f49b0330a289a1ebac8845d883 (patch)
tree8255ac6183ec0549122d60e7daa5ff37e9b216ef /source.h
parent8233bd640dca1c2b856039a223a4d4e916a3aaf0 (diff)
downloadvdr-plugin-xmltv2vdr-aab813ecd75842f49b0330a289a1ebac8845d883.tar.gz
vdr-plugin-xmltv2vdr-aab813ecd75842f49b0330a289a1ebac8845d883.tar.bz2
Removed upstart option
Some code cleanups
Diffstat (limited to 'source.h')
-rw-r--r--source.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/source.h b/source.h
index 5a415a1..94aab8a 100644
--- a/source.h
+++ b/source.h
@@ -59,14 +59,11 @@ private:
bool usepipe;
bool needpin;
bool running;
- bool upstartdone;
bool disabled;
int daysinadvance;
- int exec_upstart;
int exec_weekday;
int exec_time;
int daysmax;
- time_t lastexec;
int lastretcode;
void add2Log(const char prefix, const char *line);
bool ReadConfig();
@@ -111,10 +108,6 @@ public:
{
return exec_weekday;
}
- int ExecUpStart()
- {
- return exec_upstart;
- }
int DaysMax()
{
return daysmax;
@@ -135,9 +128,8 @@ public:
{
return pin;
}
- void ChangeExec(int UpStart, int Time, int WeekDay)
+ void ChangeExec(int Time, int WeekDay)
{
- exec_upstart=UpStart;
exec_time=Time;
exec_weekday=WeekDay;
}
@@ -150,10 +142,6 @@ public:
if (pin) free((void *) pin);
pin=strdup(NewPin);
}
- time_t LastExecution()
- {
- return lastexec;
- }
void Tlog(const char *format, ...);
void Dlog(const char *format, ...);
void Elog(const char *format, ...);