summaryrefslogtreecommitdiff
path: root/epg.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-14 15:52:40 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-14 15:52:40 +0100
commitcd43adac926d60203754515b0eaf0bb3ac2d1399 (patch)
tree2c3e405e5e501ff1f62b1ddbbfa9dcfe52ca99c7 /epg.h
parent0ef577f43a7671484aa1f40fcfb1386e4d0feef6 (diff)
downloadvdr-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/epg.h b/epg.h
index 04b63bfb..443b5600 100644
--- a/epg.h
+++ b/epg.h
@@ -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);