summaryrefslogtreecommitdiff
path: root/epg.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-08-23 10:54:49 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2013-08-23 10:54:49 +0200
commitf0537ea0f1102fa4961ff7d592238c70da8c8240 (patch)
treeb4efe093c2fbbe7f246072d0533e06d888690583 /epg.c
parent94922310584409a159ab317f284a0d4cb399a814 (diff)
downloadvdr-f0537ea0f1102fa4961ff7d592238c70da8c8240.tar.gz
vdr-f0537ea0f1102fa4961ff7d592238c70da8c8240.tar.bz2
Added Begin/EndSegmentTransfer() to the EPG handler interface
Diffstat (limited to 'epg.c')
-rw-r--r--epg.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/epg.c b/epg.c
index 5fb49ae4..e16f9780 100644
--- a/epg.c
+++ b/epg.c
@@ -7,7 +7,7 @@
* Original version (as used in VDR before 1.3.0) written by
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
*
- * $Id: epg.c 2.23 2013/02/17 14:12:07 kls Exp $
+ * $Id: epg.c 3.1 2013/08/23 10:46:33 kls Exp $
*/
#include "epg.h"
@@ -1537,3 +1537,19 @@ void cEpgHandlers::DropOutdated(cSchedule *Schedule, time_t SegmentStart, time_t
}
Schedule->DropOutdated(SegmentStart, SegmentEnd, TableID, Version);
}
+
+void cEpgHandlers::BeginSegmentTransfer(const cChannel *Channel, bool OnlyRunningStatus)
+{
+ for (cEpgHandler *eh = First(); eh; eh = Next(eh)) {
+ if (eh->BeginSegmentTransfer(Channel, OnlyRunningStatus))
+ return;
+ }
+}
+
+void cEpgHandlers::EndSegmentTransfer(bool Modified, bool OnlyRunningStatus)
+{
+ for (cEpgHandler *eh = First(); eh; eh = Next(eh)) {
+ if (eh->EndSegmentTransfer(Modified, OnlyRunningStatus))
+ return;
+ }
+}