summaryrefslogtreecommitdiff
path: root/timers.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-04-20 10:08:04 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2017-04-20 10:08:04 +0200
commit686831caf5e314c424e1411f2c33df7e25c9b695 (patch)
tree294912aec8115a442cfa92da6e2601942d0231b5 /timers.h
parent1efd5e6b7e2bc3cc75fb547f28799f7c32fb08aa (diff)
downloadvdr-686831caf5e314c424e1411f2c33df7e25c9b695.tar.gz
vdr-686831caf5e314c424e1411f2c33df7e25c9b695.tar.bz2
Fixed editing a remote timer immediately after it has been created
Diffstat (limited to 'timers.h')
-rw-r--r--timers.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/timers.h b/timers.h
index 1bffa84f..c4932ba6 100644
--- a/timers.h
+++ b/timers.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: timers.h 4.7 2017/03/30 15:22:36 kls Exp $
+ * $Id: timers.h 4.8 2017/04/20 09:09:45 kls Exp $
*/
#ifndef __TIMERS_H
@@ -168,8 +168,8 @@ public:
///< }
static bool Load(const char *FileName);
static int NewTimerId(void);
- const cTimer *GetById(int Id) const;
- cTimer *GetById(int Id) { return const_cast<cTimer *>(static_cast<const cTimers *>(this)->GetById(Id)); };
+ const cTimer *GetById(int Id, const char *Remote = NULL) const;
+ cTimer *GetById(int Id, const char *Remote = NULL) { return const_cast<cTimer *>(static_cast<const cTimers *>(this)->GetById(Id, Remote)); };
const cTimer *GetTimer(const cTimer *Timer) const;
cTimer *GetTimer(const cTimer *Timer) { return const_cast<cTimer *>(static_cast<const cTimers *>(this)->GetTimer(Timer)); };
const cTimer *GetMatch(time_t t) const;