diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-09-08 15:06:09 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-09-08 15:06:09 +0200 |
commit | 782f2683d9476d227c67cff7db0bb392a0bf5f09 (patch) | |
tree | 9c9f40df3b5b7beabb66e3c757940f613d638044 /timers.h | |
parent | 5ff1d3571199dfa412e8e1cb7eb2a4f920fdbdd5 (diff) | |
download | vdr-782f2683d9476d227c67cff7db0bb392a0bf5f09.tar.gz vdr-782f2683d9476d227c67cff7db0bb392a0bf5f09.tar.bz2 |
Fixed cTimer::operator=() in case a cTimer variable is assigned to itself; implemented a copy constructor for cTimer
Diffstat (limited to 'timers.h')
-rw-r--r-- | timers.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: timers.h 1.28 2006/04/08 12:41:44 kls Exp $ + * $Id: timers.h 1.29 2006/09/04 17:07:39 kls Exp $ */ #ifndef __TIMERS_H @@ -44,6 +44,7 @@ private: public: cTimer(bool Instant = false, bool Pause = false, cChannel *Channel = NULL); cTimer(const cEvent *Event); + cTimer(const cTimer &Timer); virtual ~cTimer(); cTimer& operator= (const cTimer &Timer); virtual int Compare(const cListObject &ListObject) const; |