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 /channels.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 'channels.h')
-rw-r--r-- | channels.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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; |