summaryrefslogtreecommitdiff
path: root/epg.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-02-21 12:33:54 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-02-21 12:33:54 +0100
commit15e6b261bac16b37b0cedb4bd634d7e9b1af887d (patch)
tree01010a0328cdd5222e1ca5fbf0f70c83fd5454f7 /epg.h
parente9c64251684c2883817f8967f1b99b9e8fdf4122 (diff)
downloadvdr-15e6b261bac16b37b0cedb4bd634d7e9b1af887d.tar.gz
vdr-15e6b261bac16b37b0cedb4bd634d7e9b1af887d.tar.bz2
Removed the obsolete 'present' and 'following' handling from the EPG data
Diffstat (limited to 'epg.h')
-rw-r--r--epg.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/epg.h b/epg.h
index c66d0f21..817540c2 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.5 2004/02/21 12:12:05 kls Exp $
+ * $Id: epg.h 1.6 2004/02/21 12:31:43 kls Exp $
*/
#ifndef __EPG_H
@@ -28,9 +28,6 @@ private:
uchar tableID; // Table ID this event came from
uchar version; // Version number of section this event came from
int runningStatus; // 0=undefined, 1=not running, 2=starts in a few seconds, 3=pausing, 4=running
- //XXX present/following obsolete???
- bool isPresent; // true if this is the present event running
- bool isFollowing; // true if this is the next event on this channel
char *title; // Title of this event
char *shortText; // Short description of this event (typically the episode name in case of a series)
char *description; // Description of this event
@@ -46,8 +43,6 @@ public:
uchar TableID(void) const { return tableID; }
uchar Version(void) const { return version; }
int RunningStatus(void) const { return runningStatus; }
- bool IsPresent(void) const { return isPresent; }
- bool IsFollowing(void) const { return isFollowing; }
const char *Title(void) const { return title; }
const char *ShortText(void) const { return shortText; }
const char *Description(void) const { return description; }
@@ -61,8 +56,6 @@ public:
void SetTableID(uchar TableID);
void SetVersion(uchar Version);
void SetRunningStatus(int RunningStatus);
- void SetIsPresent(bool IsPresent);
- void SetIsFollowing(bool IsFollowing);
void SetTitle(const char *Title);
void SetShortText(const char *ShortText);
void SetDescription(const char *Description);
@@ -80,14 +73,10 @@ class cSchedule : public cListObject {
private:
tChannelID channelID;
cList<cEvent> events;
- cEvent *present;
- cEvent *following;
public:
cSchedule(tChannelID ChannelID);
tChannelID ChannelID(void) const { return channelID; }
void SetRunningStatus(cEvent *Event, int RunningStatus);
- bool SetPresentEvent(cEvent *Event);
- bool SetFollowingEvent(cEvent *Event);
void ResetVersions(void);
void Cleanup(time_t Time);
void Cleanup(void);