From 56b624d20921863e6a212ba139a09383de382a23 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 13 Mar 2004 15:01:05 +0100 Subject: Fixed detecting the running status in case an empty EPG event is broadcast --- epg.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'epg.h') diff --git a/epg.h b/epg.h index 88355522..74e5c0bd 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 and Rolf Hakenes . * - * $Id: epg.h 1.13 2004/03/06 14:01:38 kls Exp $ + * $Id: epg.h 1.14 2004/03/13 13:39:13 kls Exp $ */ #ifndef __EPG_H @@ -61,7 +61,7 @@ public: void SetEventID(u_int16_t EventID); void SetTableID(uchar TableID); void SetVersion(uchar Version); - void SetRunningStatus(int RunningStatus); + void SetRunningStatus(int RunningStatus, cChannel *Channel = NULL); void SetTitle(const char *Title); void SetShortText(const char *ShortText); void SetDescription(const char *Description); @@ -79,10 +79,12 @@ class cSchedule : public cListObject { private: tChannelID channelID; cList events; + bool hasRunning; public: cSchedule(tChannelID ChannelID); tChannelID ChannelID(void) const { return channelID; } void SetRunningStatus(cEvent *Event, int RunningStatus, cChannel *Channel = NULL); + void ClrRunningStatus(cChannel *Channel = NULL); void ResetVersions(void); void Sort(void); void Cleanup(time_t Time); -- cgit v1.2.3