diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-04-11 02:36:08 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-04-11 02:36:08 +0200 |
commit | 5d943515babc18cba0576f21f4c89a389d5f60c0 (patch) | |
tree | e237a03b56a840b495c93af1dda9acbbb5938818 /event.h | |
parent | 3539d1a5106f2bfeb9d25bc5c14b97d53c8fb81b (diff) | |
download | vdr-plugin-xmltv2vdr-5d943515babc18cba0576f21f4c89a389d5f60c0.tar.gz vdr-plugin-xmltv2vdr-5d943515babc18cba0576f21f4c89a389d5f60c0.tar.bz2 |
Added full parential rating support
Diffstat (limited to 'event.h')
-rw-r--r-- | event.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -56,10 +56,8 @@ private: cXMLTVStringList review; cXMLTVStringList rating; cXMLTVStringList starrating; -#if VDRVERSNUM >= 10711 - uchar parentalRating; + int parentalRating; uchar contents[MaxEventContents]; -#endif public: cXMLTVEvent(); ~cXMLTVEvent(); @@ -142,6 +140,10 @@ public: { mixing=true; } + int ParentalRating() const + { + return parentalRating; + } int Duration() const { return duration; |