diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-05-28 10:09:06 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-05-28 10:09:06 +0200 |
commit | b4cbb84489020d0fa3e45fbff60cf1ce43ea6a1b (patch) | |
tree | 1d14c80c5db191a3d57b3ec3c7f3cf9ba32f13c2 /epg.h | |
parent | 7114258ebd27e302eba4be88b546662c163396f4 (diff) | |
download | vdr-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.h | 8 |
1 files changed, 4 insertions, 4 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.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; } |