summaryrefslogtreecommitdiff
path: root/osditem.h
diff options
context:
space:
mode:
authorMartin Schirrmacher <vdr.neutrinoepg@schirrmacher.eu>2015-12-09 18:39:34 +0100
committerMartin Schirrmacher <vdr.neutrinoepg@schirrmacher.eu>2015-12-09 18:39:34 +0100
commit6ad59a68864f0d2a4eaaacfc2cd7041561ad8fa3 (patch)
tree05a079357f4aab9d65a61f0d05c804da36ecb1d3 /osditem.h
parent4fec4bcb560d4bd1e81585a0a4dfc7c4f31f6863 (diff)
downloadvdr-plugin-neutrinoepg-6ad59a68864f0d2a4eaaacfc2cd7041561ad8fa3.tar.gz
vdr-plugin-neutrinoepg-6ad59a68864f0d2a4eaaacfc2cd7041561ad8fa3.tar.bz2
add support for vdr-2.3.1
Diffstat (limited to 'osditem.h')
-rw-r--r--osditem.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/osditem.h b/osditem.h
index 5df42ae..8e45186 100644
--- a/osditem.h
+++ b/osditem.h
@@ -14,9 +14,15 @@ class myOsdItem : public cOsdItem
public:
const cEvent *event;
const cChannel *channel;
+#if APIVERSNUM >= 20301
+ const cTimer *timer;
+ virtual void Set();
+ myOsdItem(const cEvent *Event, const cChannel *Channel, bool Next);
+#else
cTimer *timer;
virtual void Set();
- myOsdItem(const cEvent *Event,cChannel *Channel,bool Next);
+ myOsdItem(const cEvent *Event, cChannel *Channel, bool Next);
+#endif
};
class Icons