diff options
Diffstat (limited to 'epg.h')
-rw-r--r-- | epg.h | 4 |
1 files changed, 3 insertions, 1 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.26 2005/09/11 12:54:30 kls Exp $ + * $Id: epg.h 1.28 2005/12/27 14:31:24 kls Exp $ */ #ifndef __EPG_H @@ -67,6 +67,7 @@ public: ~cEvent(); virtual int Compare(const cListObject &ListObject) const; tChannelID ChannelID(void) const; + const cSchedule *Schedule(void) const { return schedule; } u_int16_t EventID(void) const { return eventID; } uchar TableID(void) const { return tableID; } uchar Version(void) const { return version; } @@ -128,6 +129,7 @@ public: void ClrRunningStatus(cChannel *Channel = NULL); void ResetVersions(void); void Sort(void); + void DropOutdated(time_t SegmentStart, time_t SegmentEnd, uchar TableID, uchar Version); void Cleanup(time_t Time); void Cleanup(void); cEvent *AddEvent(cEvent *Event); |