diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-05-05 17:42:12 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-05-05 17:42:12 +0200 |
commit | 510d6a8c2690f4435ae2faafa64b896232ae8bbe (patch) | |
tree | fe809588b1109f675f4d5c8dbaf16aa9d9b7b03a /event.h | |
parent | 9706daedb3aeb2154e532d8a586f59b3166f8279 (diff) | |
download | vdr-plugin-xmltv2vdr-510d6a8c2690f4435ae2faafa64b896232ae8bbe.tar.gz vdr-plugin-xmltv2vdr-510d6a8c2690f4435ae2faafa64b896232ae8bbe.tar.bz2 |
Added option 'add shorttext/title from list'v0.1.1
Added cGlobal class for global variables
New version 0.1.1
Diffstat (limited to 'event.h')
-rw-r--r-- | event.h | 21 |
1 files changed, 14 insertions, 7 deletions
@@ -42,12 +42,12 @@ private: char *sql; char *channelid; char *source; - bool picexists; int year; time_t starttime; int duration; int season; int episode; + int episodeoverall; tEventID eventid; tEventID eiteventid; cXMLTVStringList video; @@ -56,6 +56,7 @@ private: cXMLTVStringList review; cXMLTVStringList rating; cXMLTVStringList starrating; + cXMLTVStringList pics; int parentalRating; uchar contents[MaxEventContents]; public: @@ -77,12 +78,14 @@ public: void AddReview(const char *Review); void AddRating(const char *System, const char *Rating); void AddStarRating(const char *System, const char *Rating); + void AddPics(const char *Pic); void SetCredits(const char *Credits); void SetCategory(const char *Category); void SetReview(const char *Review); void SetRating(const char *Rating); void SetStarRating(const char *StarRating); void SetVideo(const char *Video); + void SetPics(const char *Pics); const char *GetSQL(const char *Source, int SrcIdx, const char *ChannelID); cXMLTVStringList *Credits() { @@ -108,6 +111,10 @@ public: { return &video; } + cXMLTVStringList *Pics() + { + return &pics; + } void SetSeason(int Season) { season=Season; @@ -116,6 +123,10 @@ public: { episode=Episode; } + void SetEpisodeOverall(int EpisodeOverall) + { + episodeoverall=EpisodeOverall; + } void SetYear(int Year) { year=Year; @@ -136,10 +147,6 @@ public: { eiteventid=EventID; } - void SetPicExists(void) - { - picexists=true; - } int ParentalRating() const { return parentalRating; @@ -212,9 +219,9 @@ public: { return episode; } - bool PicExists(void) + int EpisodeOverall(void) { - return picexists; + return episodeoverall; } }; |