summaryrefslogtreecommitdiff
path: root/epg.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-02-26 14:13:30 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-02-26 14:13:30 +0100
commitc3f5c97eadb3fc84cd0c25410e2a4bc6eb873ed8 (patch)
tree17d38599baf7bf9f2918aa22048500e3f54703f5 /epg.c
parent168348e7e4025d51e2a9cce5415cbd92a7622a45 (diff)
downloadvdr-c3f5c97eadb3fc84cd0c25410e2a4bc6eb873ed8.tar.gz
vdr-c3f5c97eadb3fc84cd0c25410e2a4bc6eb873ed8.tar.bz2
The 'event id' in EPG data has been extended to 32 bit
Diffstat (limited to 'epg.c')
-rw-r--r--epg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epg.c b/epg.c
index 6c8fea0e..a8328a8b 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.62 2006/02/25 12:30:27 kls Exp $
+ * $Id: epg.c 1.63 2006/02/26 13:54:44 kls Exp $
*/
#include "epg.h"
@@ -97,7 +97,7 @@ tComponent *cComponents::GetComponent(int Index, uchar Stream, uchar Type)
// --- cEvent ----------------------------------------------------------------
-cEvent::cEvent(u_int16_t EventID)
+cEvent::cEvent(tEventID EventID)
{
schedule = NULL;
eventID = EventID;
@@ -133,7 +133,7 @@ tChannelID cEvent::ChannelID(void) const
return schedule ? schedule->ChannelID() : tChannelID();
}
-void cEvent::SetEventID(u_int16_t EventID)
+void cEvent::SetEventID(tEventID EventID)
{
if (eventID != EventID) {
if (schedule)
@@ -694,7 +694,7 @@ const cEvent *cSchedule::GetFollowingEvent(void) const
return p;
}
-const cEvent *cSchedule::GetEvent(u_int16_t EventID, time_t StartTime) const
+const cEvent *cSchedule::GetEvent(tEventID EventID, time_t StartTime) const
{
// Returns either the event info with the given EventID or, if that one can't
// be found, the one with the given StartTime (or NULL if neither can be found)