summaryrefslogtreecommitdiff
path: root/epg.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-05-28 10:09:06 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-05-28 10:09:06 +0200
commitb4cbb84489020d0fa3e45fbff60cf1ce43ea6a1b (patch)
tree1d14c80c5db191a3d57b3ec3c7f3cf9ba32f13c2 /epg.h
parent7114258ebd27e302eba4be88b546662c163396f4 (diff)
downloadvdr-b4cbb84489020d0fa3e45fbff60cf1ce43ea6a1b.tar.gz
vdr-b4cbb84489020d0fa3e45fbff60cf1ce43ea6a1b.tar.bz2
cEvent no longer stores the channelID directly, but rather has a pointer to the schedule it is in
Diffstat (limited to 'epg.h')
-rw-r--r--epg.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/epg.h b/epg.h
index f0836946..1b65e637 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.23 2005/05/28 09:48:56 kls Exp $
+ * $Id: epg.h 1.24 2005/05/28 10:00:12 kls Exp $
*/
#ifndef __EPG_H
@@ -48,7 +48,7 @@ class cSchedule;
class cEvent : public cListObject {
private:
- tChannelID channelID; // Channel ID of program for this event
+ cSchedule *schedule; // The Schedule this event belongs to
u_int16_t eventID; // Event ID of this event
uchar tableID; // Table ID this event came from
uchar version; // Version number of section this event came from
@@ -62,10 +62,10 @@ private:
time_t vps; // Video Programming Service timestamp (VPS, aka "Programme Identification Label", PIL)
time_t seen; // When this event was last seen in the data stream
public:
- cEvent(tChannelID ChannelID, u_int16_t EventID);
+ cEvent(cSchedule *Schedule, u_int16_t EventID);
~cEvent();
virtual int Compare(const cListObject &ListObject) const;
- tChannelID ChannelID(void) const { return channelID; }
+ tChannelID ChannelID(void) const;
u_int16_t EventID(void) const { return eventID; }
uchar TableID(void) const { return tableID; }
uchar Version(void) const { return version; }