diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-06-04 10:19:23 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-06-04 10:19:23 +0200 |
commit | 8d8dd8ecbd3a7c95800921009c72123939e3e571 (patch) | |
tree | aec79840530906ce826751ededb9b8aed69c06dd /epg.c | |
parent | 4bce65eb10999e2c7500faa6113bb79af600dc2e (diff) | |
download | vdr-8d8dd8ecbd3a7c95800921009c72123939e3e571.tar.gz vdr-8d8dd8ecbd3a7c95800921009c72123939e3e571.tar.bz2 |
Added HandledExternally() to the EPG handler interface
Diffstat (limited to 'epg.c')
-rw-r--r-- | epg.c | 11 |
1 files changed, 10 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.15 2012/06/04 09:49:48 kls Exp $ + * $Id: epg.c 2.16 2012/06/04 10:06:22 kls Exp $ */ #include "epg.h" @@ -1331,6 +1331,15 @@ bool cEpgHandlers::HandleEitEvent(cSchedule *Schedule, const SI::EIT::Event *Eit return false; } +bool cEpgHandlers::HandledExternally(const cChannel *Channel) +{ + for (cEpgHandler *eh = First(); eh; eh = Next(eh)) { + if (eh->HandledExternally(Channel)) + return true; + } + return false; +} + void cEpgHandlers::SetEventID(cEvent *Event, tEventID EventID) { for (cEpgHandler *eh = First(); eh; eh = Next(eh)) { |