summaryrefslogtreecommitdiff
path: root/switchtimer.h
diff options
context:
space:
mode:
Diffstat (limited to 'switchtimer.h')
-rw-r--r--switchtimer.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/switchtimer.h b/switchtimer.h
index eea468f..ba1479a 100644
--- a/switchtimer.h
+++ b/switchtimer.h
@@ -11,6 +11,20 @@ public:
tChannelID channelID;
int switchMinsBefore;
int announceOnly;
+ cSwitchTimer(const cSwitchTimer &SwitchTimer)
+ {
+ *this = SwitchTimer;
+ };
+ cSwitchTimer& operator= (const cSwitchTimer &SwitchTimer)
+ {
+ this->eventID = SwitchTimer.eventID;
+ this->startTime = SwitchTimer.startTime;
+ this->channelID = SwitchTimer.channelID;
+ this->switchMinsBefore = SwitchTimer.switchMinsBefore;
+ this->announceOnly = SwitchTimer.announceOnly;
+
+ return *this;
+ };
cSwitchTimer(void);
cSwitchTimer(const cEvent* Event);
bool Parse(const char *s);