summaryrefslogtreecommitdiff
path: root/eit.h
diff options
context:
space:
mode:
Diffstat (limited to 'eit.h')
-rw-r--r--eit.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/eit.h b/eit.h
index d4ba69f..8ca5f1e 100644
--- a/eit.h
+++ b/eit.h
@@ -4,6 +4,9 @@
begin : Fri Aug 25 2000
copyright : (C) 2000 by Robert Schneider
email : Robert.Schneider@web.de
+
+ 2001-08-15: Adapted to 'libdtv' by Rolf Hakenes <hakenes@hippomi.de>
+
***************************************************************************/
/***************************************************************************
@@ -13,7 +16,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: eit.h 1.8 2001/08/11 09:06:17 kls Exp $
+ * $Id: eit.h 1.10 2001/08/15 15:47:31 kls Exp $
***************************************************************************/
#ifndef __EIT_H
@@ -35,19 +38,17 @@ private:
unsigned short uEventID; // Event ID of this event
long lDuration; // duration of event in seconds
time_t tTime; // Start time
- u_char cExtendedDescriptorNumber; // current extended descriptor number that has to be inserted
int nChannelNumber; // the actual channel number from VDR's channel list (used in cMenuSchedule for sorting by channel number)
protected:
void SetFollowing(bool foll);
void SetPresent(bool pres);
- bool SetTitle(char *string);
+ bool SetTitle(const char *string);
void SetServiceID(unsigned short servid);
void SetEventID(unsigned short evid);
void SetDuration(long l);
void SetTime(time_t t);
- bool AddExtendedDescription(char *string);
- bool SetSubtitle(char *string);
- void IncreaseExtendedDescriptorNumber(void);
+ bool AddExtendedDescription(const char *string);
+ bool SetSubtitle(const char *string);
cEventInfo(unsigned short serviceid, unsigned short eventid);
public:
~cEventInfo();
@@ -62,11 +63,11 @@ public:
unsigned short GetEventID(void) const;
long GetDuration(void) const;
time_t GetTime(void) const;
- u_char GetExtendedDescriptorNumber(void) const;
unsigned short GetServiceID(void) const;
int GetChannelNumber(void) const { return nChannelNumber; }
void SetChannelNumber(int ChannelNumber) const { ((cEventInfo *)this)->nChannelNumber = ChannelNumber; } // doesn't modify the EIT data, so it's ok to make it 'const'
void Dump(FILE *f, const char *Prefix = "") const;
+ void FixEpgBugs(void);
};
class cSchedule : public cListObject {