summaryrefslogtreecommitdiff
path: root/switchtimer.c
diff options
context:
space:
mode:
authorkamel5 <kamel5 (at) gmx (dot) net>2018-03-08 13:30:41 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-01-27 11:30:01 +0100
commitbf2937d86c316edb716c6fe1bdb97e7c706f675c (patch)
treefa8878241e876ee18fe417de51fc26cea1f76f6a /switchtimer.c
parent6ae27238afa33e17dece7311c4728b5c1f2f83b2 (diff)
downloadvdr-plugin-tvguide-bf2937d86c316edb716c6fe1bdb97e7c706f675c.tar.gz
vdr-plugin-tvguide-bf2937d86c316edb716c6fe1bdb97e7c706f675c.tar.bz2
Cosmetic changes / SwitchTimer& operator / std:min,std:max
Diffstat (limited to 'switchtimer.c')
-rw-r--r--switchtimer.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/switchtimer.c b/switchtimer.c
index f56c469..bf21553 100644
--- a/switchtimer.c
+++ b/switchtimer.c
@@ -20,6 +20,17 @@ cSwitchTimer::cSwitchTimer(const cEvent* Event) {
}
}
+#if VDRVERSNUM >= 20305
+cSwitchTimer& cSwitchTimer::operator= (const cSwitchTimer &SwitchTimer)
+{
+ this->eventID = SwitchTimer.eventID;
+ this->startTime = SwitchTimer.startTime;
+ this->channelID = SwitchTimer.channelID;
+ this->switchMinsBefore = SwitchTimer.switchMinsBefore;
+ return *this;
+}
+
+#endif
bool cSwitchTimer::Parse(const char *s) {
char *line;
char *pos;