summaryrefslogtreecommitdiff
path: root/epg.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-03-13 15:01:05 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-03-13 15:01:05 +0100
commit56b624d20921863e6a212ba139a09383de382a23 (patch)
tree84db72116841f1980ceea34d5aa28d7d0efb4860 /epg.h
parent1fd16f6629d4297268e6ff8470444a7169421286 (diff)
downloadvdr-56b624d20921863e6a212ba139a09383de382a23.tar.gz
vdr-56b624d20921863e6a212ba139a09383de382a23.tar.bz2
Fixed detecting the running status in case an empty EPG event is broadcast
Diffstat (limited to 'epg.h')
-rw-r--r--epg.h6
1 files changed, 4 insertions, 2 deletions
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 <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
*
- * $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<cEvent> 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);