summaryrefslogtreecommitdiff
path: root/eit2.h
diff options
context:
space:
mode:
Diffstat (limited to 'eit2.h')
-rw-r--r--eit2.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/eit2.h b/eit2.h
index c6251fe..0cfd6e6 100644
--- a/eit2.h
+++ b/eit2.h
@@ -4,7 +4,9 @@
#include <libsi/descriptor.h>
#include <libsi/si.h>
#include <vdr/epg.h>
+#include "util.h"
+using namespace util;
namespace SI
{
@@ -49,9 +51,10 @@ extern bool SystemCharacterTableIsSingleByte;*/
class cEIT2:public SI::EIT
{
public:
- cEIT2(cSchedules * Schedules, int Source, u_char Tid, const u_char * Data, bool isEITPid = false,
+ cEIT2(cSchedules * Schedules, int Source, u_char Tid, const u_char * Data,
+ EFormat format, bool isEITPid = false,
bool OnlyRunningStatus = false);
- cEIT2 (cSchedule * Schedule);
+ cEIT2 (cSchedule * Schedule, EFormat format);
//protected:
// void updateEquivalent(cSchedules * Schedules, tChannelID channelID, cEvent *pEvent);
cEvent* ProcessEitEvent(cSchedule *Schedule, const SI::EIT::Event *EitEvent, uchar TableID, uchar Version);
@@ -69,6 +72,7 @@ private:
time_t SegmentStart;
time_t SegmentEnd;
cSchedules* Schedules;
+ EFormat Format;
cChannel* channel;
};