diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-14 15:52:40 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-14 15:52:40 +0100 |
commit | cd43adac926d60203754515b0eaf0bb3ac2d1399 (patch) | |
tree | 2c3e405e5e501ff1f62b1ddbbfa9dcfe52ca99c7 /epg.h | |
parent | 0ef577f43a7671484aa1f40fcfb1386e4d0feef6 (diff) | |
download | vdr-cd43adac926d60203754515b0eaf0bb3ac2d1399.tar.gz vdr-cd43adac926d60203754515b0eaf0bb3ac2d1399.tar.bz2 |
Made the "What's on now/next?" menus a lot faster by storing a pointer to each channel's schedule in the cChannel data
Diffstat (limited to 'epg.h')
-rw-r--r-- | epg.h | 3 |
1 files changed, 2 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.h 1.28 2005/12/27 14:31:24 kls Exp $ + * $Id: epg.h 1.29 2006/01/14 15:45:24 kls Exp $ */ #ifndef __EPG_H @@ -179,6 +179,7 @@ public: static bool Read(FILE *f = NULL); cSchedule *AddSchedule(tChannelID ChannelID); const cSchedule *GetSchedule(tChannelID ChannelID) const; + const cSchedule *GetSchedule(const cChannel *Channel, bool AddIfMissing = false) const; }; void ReportEpgBugFixStats(bool Reset = false); |