summaryrefslogtreecommitdiff
path: root/epg.c
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.c
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.c')
-rw-r--r--epg.c32
1 files changed, 1 insertions, 31 deletions
diff --git a/epg.c b/epg.c
index 8454cebd..19108047 100644
--- a/epg.c
+++ b/epg.c
@@ -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.c 1.6 2004/02/21 12:21:18 kls Exp $
+ * $Id: epg.c 1.7 2004/02/21 12:32:31 kls Exp $
*/
#include "epg.h"
@@ -24,7 +24,6 @@ cEvent::cEvent(tChannelID ChannelID, u_int16_t EventID)
tableID = 0;
version = 0xFF; // actual version numbers are 0..31
runningStatus = 0;
- isPresent = isFollowing = false;
title = NULL;
shortText = NULL;
description = NULL;
@@ -60,16 +59,6 @@ void cEvent::SetRunningStatus(int RunningStatus)
runningStatus = RunningStatus;
}
-void cEvent::SetIsPresent(bool IsPresent)
-{
- isPresent = IsPresent;
-}
-
-void cEvent::SetIsFollowing(bool IsFollowing)
-{
- isFollowing = IsFollowing;
-}
-
void cEvent::SetTitle(const char *Title)
{
title = strcpyrealloc(title, Title);
@@ -439,7 +428,6 @@ void cEvent::FixEpgBugs(void)
cSchedule::cSchedule(tChannelID ChannelID)
{
channelID = ChannelID;
- present = following = NULL;
}
cEvent *cSchedule::AddEvent(cEvent *Event)
@@ -506,24 +494,6 @@ void cSchedule::SetRunningStatus(cEvent *Event, int RunningStatus)
}
}
-bool cSchedule::SetPresentEvent(cEvent *Event)
-{
- if (present)
- present->SetIsPresent(false);
- present = Event;
- present->SetIsPresent(true);
- return true;
-}
-
-bool cSchedule::SetFollowingEvent(cEvent *Event)
-{
- if (following)
- following->SetIsFollowing(false);
- following = Event;
- following->SetIsFollowing(true);
- return true;
-}
-
void cSchedule::ResetVersions(void)
{
for (cEvent *p = events.First(); p; p = events.Next(p))