summaryrefslogtreecommitdiff
path: root/switchtimer.c
diff options
context:
space:
mode:
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;