summaryrefslogtreecommitdiff
path: root/event.h
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2012-04-11 02:36:08 +0200
committerJochen Dolze <vdr@dolze.de>2012-04-11 02:36:08 +0200
commit5d943515babc18cba0576f21f4c89a389d5f60c0 (patch)
treee237a03b56a840b495c93af1dda9acbbb5938818 /event.h
parent3539d1a5106f2bfeb9d25bc5c14b97d53c8fb81b (diff)
downloadvdr-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.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/event.h b/event.h
index 082e8c1..14e8eb6 100644
--- a/event.h
+++ b/event.h
@@ -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;