summaryrefslogtreecommitdiff
path: root/setup.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2011-01-22 20:45:06 +0100
committerJochen Dolze <vdr@dolze.de>2011-01-22 20:45:06 +0100
commitba419b0b9694ba59869cbdf47d46d1b0a28e5c84 (patch)
treeea49e89eb8b16a0e18b3fcef179b8d1628465e1b /setup.cpp
parenta22fb8f9b2bef75dc5723cea2604f04133036076 (diff)
downloadvdr-plugin-xmltv2vdr-ba419b0b9694ba59869cbdf47d46d1b0a28e5c84.tar.gz
vdr-plugin-xmltv2vdr-ba419b0b9694ba59869cbdf47d46d1b0a28e5c84.tar.bz2
Added new option update on start
Removed -pedantic from Makefile Fixed some minor bugs (missing EOL in file, etc. pp.) Removed cEPGExecute and introduced cEPGExecutor
Diffstat (limited to 'setup.cpp')
-rw-r--r--setup.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/setup.cpp b/setup.cpp
index 6f5ae8c..b8406c5 100644
--- a/setup.cpp
+++ b/setup.cpp
@@ -34,7 +34,8 @@ cMenuSetupXmltv2vdr::cMenuSetupXmltv2vdr(cPluginXmltv2vdr *Plugin)
{
baseplugin=Plugin;
sourcesBegin=sourcesEnd=mappingBegin=mappingEnd=mappingEntry=0;
- wakeup=baseplugin->wakeup;
+ wakeup=baseplugin->WakeUp;
+ upstart=baseplugin->UpStart;
exectime=baseplugin->ExecTime();
Output();
}
@@ -49,6 +50,7 @@ void cMenuSetupXmltv2vdr::Output(void)
Add(new cMenuEditBoolItem(tr("automatic wakeup"),&wakeup),true);
Add(new cMenuEditTimeItem(tr("execution time"),&exectime),true);
+ Add(new cMenuEditBoolItem(tr("update on start"),&upstart),true);
Add(new cOsdItem(tr("text mapping")),true);
mappingEntry=Current();
Add(newtitle(tr("epg sources")),true);
@@ -170,8 +172,10 @@ void cMenuSetupXmltv2vdr::Store(void)
{
SetupStore("options.exectime",exectime);
SetupStore("options.wakeup",wakeup);
+ SetupStore("options.upstart",upstart);
- baseplugin->wakeup=wakeup;
+ baseplugin->UpStart=upstart;
+ baseplugin->WakeUp=wakeup;
baseplugin->SetExecTime(exectime);
}