diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-07-14 17:39:18 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-07-14 17:39:18 +0200 |
commit | 296d7f6785053232c21c747138c2673be19ac6bd (patch) | |
tree | 40c8364e7a8687c1a9884209d5bf999ff2cc4e86 /event.h | |
parent | ade2efec3a2e857e56dfcd42b0068d1de3bcfae7 (diff) | |
download | vdr-plugin-xmltv2vdr-296d7f6785053232c21c747138c2673be19ac6bd.tar.gz vdr-plugin-xmltv2vdr-296d7f6785053232c21c747138c2673be19ac6bd.tar.bz2 |
Fixed bug which prevents some events to get updates
Added better handling of two titles
Diffstat (limited to 'event.h')
-rw-r--r-- | event.h | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -33,7 +33,7 @@ class cXMLTVEvent { private: char *title; - char *title2; + char *alttitle; char *shorttext; char *description; char *eitdescription; @@ -70,6 +70,7 @@ public: void SetSource(const char *Source); void SetChannelID(const char *ChannelID); void SetTitle(const char *Title); + void SetAltTitle(const char *AltTitle); void SetOrigTitle(const char *OrigTitle); void SetShortText(const char *ShortText); void SetDescription(const char *Description); @@ -181,7 +182,14 @@ public: { return source; } - const char *Title(bool Second=false); + const char *Title(void) const + { + return title; + } + const char *AltTitle(void) const + { + return alttitle; + } const char *ShortText(void) const { return shorttext; |