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 af0c721..b01172e 100644
--- a/switchtimer.c
+++ b/switchtimer.c
@@ -49,6 +49,17 @@ cSwitchTimer::cSwitchTimer(const cEvent* Event, int SwitchMinsBefore, int Mode,
unmute = Unmute;
}
+cSwitchTimer& cSwitchTimer::operator= (const cSwitchTimer &SwitchTimer)
+{
+ this->eventID = SwitchTimer.eventID;
+ this->startTime = SwitchTimer.startTime;
+ this->channelID = SwitchTimer.channelID;
+ this->switchMinsBefore = SwitchTimer.switchMinsBefore;
+ this->mode = SwitchTimer.mode;
+ this->unmute = SwitchTimer.unmute;
+ return *this;
+}
+
bool cSwitchTimer::Parse(const char *s)
{
char *line;