diff options
author | Jochen Dolze <vdr@dolze.de> | 2009-02-05 17:58:15 +0100 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2009-02-05 17:58:15 +0100 |
commit | 210b6ab3d8a5367e116afefe31cea1d83fa094b9 (patch) | |
tree | a5a11ba0489b725994db55622ee7f2402cff03e9 /process.h | |
parent | 54a468314486b9c5e9ea34d36791873d54fb8365 (diff) | |
download | vdr-plugin-infosatepg-210b6ab3d8a5367e116afefe31cea1d83fa094b9.tar.gz vdr-plugin-infosatepg-210b6ab3d8a5367e116afefe31cea1d83fa094b9.tar.bz2 |
Changed setup channel option into Frequency, Polarization, Srate
Add setup option NoWakeup to prevent wakeup
Improved parsing of Shorttext
Fixed bug in event handling
Diffstat (limited to 'process.h')
-rw-r--r-- | process.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -24,6 +24,7 @@ private: char *country; char *genre; char *original; + char *episode; int category; int fsk; int year; @@ -49,6 +50,7 @@ public: void SetCountry(const char *Country); void SetGenre(const char *Genre); void SetOriginal(const char *Original); + void SetEpisode(const char *Episode); const char *Description(void) const { return description; } const char *Title(void) const { return title; } const char *ShortText(void) const { return shortText; } @@ -56,6 +58,7 @@ public: const char *Genre(void) const { return genre; } const char *Country(void) const { return country; } const char *Original(void) const { return original; } + const char *Episode(void) const { return episode; } int Year(void) const { return year; } int Duration(void) const { return duration; } int FSK(void) const { return fsk; } @@ -68,7 +71,7 @@ public: }; // --- cProcessInfosatepg -class cProcessInfosatepg +class cProcessInfosatepg //: public cThread { private: cGlobalInfosatepg *global; @@ -76,10 +79,11 @@ private: bool CheckOriginal(char *s,cInfosatevent *iEvent,cCharSetConv *conv); bool CheckAnnouncement(char *s,cInfosatevent *iEvent); bool ParseInfosatepg(FILE *f,int *firststarttime); - cChannel *GetInfosatChannel(int frequency, int sid); + cChannel *GetVDRChannel(int frequency, int sid); u_long DoSum(u_long sum, const char *buf, int nBytes); cEvent *SearchEvent(cSchedule* Schedule, cInfosatevent *iEvent); public: + //virtual void Action(); //(int Mac, cGlobalInfosatepg *Global); cProcessInfosatepg(int Mac, cGlobalInfosatepg *Global); }; |