diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-08-23 10:54:49 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-08-23 10:54:49 +0200 |
commit | f0537ea0f1102fa4961ff7d592238c70da8c8240 (patch) | |
tree | b4efe093c2fbbe7f246072d0533e06d888690583 /epg.c | |
parent | 94922310584409a159ab317f284a0d4cb399a814 (diff) | |
download | vdr-f0537ea0f1102fa4961ff7d592238c70da8c8240.tar.gz vdr-f0537ea0f1102fa4961ff7d592238c70da8c8240.tar.bz2 |
Added Begin/EndSegmentTransfer() to the EPG handler interface
Diffstat (limited to 'epg.c')
-rw-r--r-- | epg.c | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -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; + } +} |