summaryrefslogtreecommitdiff
path: root/timers.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2019-05-23 10:00:48 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2019-05-23 10:00:48 +0200
commit4242fa7f22fe31e210640971b2bf21232a23807d (patch)
tree4a843cc508d343c7bec574e95efc10d53abe7ac9 /timers.h
parentabdab188079e7db7ec22f18171ac300b16e8e8a9 (diff)
downloadvdr-4242fa7f22fe31e210640971b2bf21232a23807d.tar.gz
vdr-4242fa7f22fe31e210640971b2bf21232a23807d.tar.bz2
Fixed asserting free disk space in case there is no local timer currently recording
Diffstat (limited to 'timers.h')
-rw-r--r--timers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/timers.h b/timers.h
index 93d5a447..ccb64090 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.11 2018/02/27 13:57:26 kls Exp $
+ * $Id: timers.h 4.12 2019/05/23 09:47:19 kls Exp $
*/
#ifndef __TIMERS_H
@@ -178,6 +178,7 @@ public:
cTimer *GetMatch(const cEvent *Event, eTimerMatch *Match = NULL) { return const_cast<cTimer *>(static_cast<const cTimers *>(this)->GetMatch(Event, Match)); }
int GetMaxPriority(void) const;
///< Returns the maximum priority of all local timers that are currently recording.
+ ///< If there is no local timer currently recording, -1 is returned.
const cTimer *GetNextActiveTimer(void) const;
const cTimer *UsesChannel(const cChannel *Channel) const;
bool SetEvents(const cSchedules *Schedules);