summaryrefslogtreecommitdiff
path: root/channels.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 /channels.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 'channels.h')
-rw-r--r--channels.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/channels.h b/channels.h
index b4882522..22dc6feb 100644
--- a/channels.h
+++ b/channels.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: channels.h 1.37 2006/01/07 13:00:43 kls Exp $
+ * $Id: channels.h 1.38 2006/01/14 15:51:26 kls Exp $
*/
#ifndef __CHANNELS_H
@@ -103,7 +103,10 @@ public:
class cLinkChannels : public cList<cLinkChannel> {
};
+class cSchedule;
+
class cChannel : public cListObject {
+ friend class cSchedules;
friend class cMenuEditChannel;
private:
static cString ToText(const cChannel *Channel);
@@ -142,6 +145,7 @@ private:
int hierarchy;
int __EndData__;
int modification;
+ mutable const cSchedule *schedule;
cLinkChannels *linkChannels;
cChannel *refChannel;
cString ParametersToString(void) const;