diff options
author | Jochen Dolze <vdr@dolze.de> | 2011-02-27 17:24:23 +0100 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2011-02-27 17:24:23 +0100 |
commit | 7bb7938a64f28fd69f9bd985b448083c7725896a (patch) | |
tree | 1780c8e17189391928af04a416f7201df63b6e9f /parse.h | |
parent | 795716f16830d24eddb39fdd735ede9a3a751728 (diff) | |
download | vdr-plugin-xmltv2vdr-7bb7938a64f28fd69f9bd985b448083c7725896a.tar.gz vdr-plugin-xmltv2vdr-7bb7938a64f28fd69f9bd985b448083c7725896a.tar.bz2 |
First releasev0.0.1
Some minor bugfixes
Some minor enhancements
Diffstat (limited to 'parse.h')
-rw-r--r-- | parse.h | 23 |
1 files changed, 21 insertions, 2 deletions
@@ -31,6 +31,9 @@ private: int duration; time_t vps; tEventID eventid; + cStringList actors; + cStringList others; + char *director; #if VDRVERSNUM >= 10711 uchar parentalRating; uchar contents[MaxEventContents]; @@ -38,13 +41,17 @@ private: public: cXMLTVEvent(); ~cXMLTVEvent(); + bool Add2Description(const char *Name, const char *Value); + bool Add2Description(const char *Name, int Value); + bool Add2Description(const char *Value); void Clear(); void SetTitle(const char *Title); void SetOrigTitle(const char *OrigTitle); void SetShortText(const char *ShortText); void SetDescription(const char *Description); - bool AddDescription(const char *Name, const char *Value); - bool AddDescription(const char *Name, int Value); + void SetDirector(const char *Director); + void AddActor(const char *Actor, const char *ActorRole=NULL); + void AddOther(const char *OtherType, const char *Other); void SetCountry(const char *Country); void SetReview(const char *Review); void SetRating(const char *System, const char *Rating); @@ -120,6 +127,18 @@ public: { return eventid; } + cStringList *Actors(void) + { + return &actors; + } + const char *Director(void) const + { + return director; + } + cStringList *Others(void) + { + return &others; + } }; class cParse |