summaryrefslogtreecommitdiff
path: root/recmenuitem.h
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-18 16:41:04 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-19 11:38:04 +0200
commit31f72f2ad82506cd33e25ea3ab2da415d25fc9cb (patch)
tree5bb5f7fb1c494aed70dcef6ae4980b1290b18216 /recmenuitem.h
parenta1aa30025958754feadc4313f56b63cc1d260fc0 (diff)
downloadvdr-plugin-tvguide-31f72f2ad82506cd33e25ea3ab2da415d25fc9cb.tar.gz
vdr-plugin-tvguide-31f72f2ad82506cd33e25ea3ab2da415d25fc9cb.tar.bz2
Rework cRecMenuItemChannelChooser
Diffstat (limited to 'recmenuitem.h')
-rw-r--r--recmenuitem.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/recmenuitem.h b/recmenuitem.h
index 9c7c261..ef1feee 100644
--- a/recmenuitem.h
+++ b/recmenuitem.h
@@ -496,6 +496,13 @@ public:
class cRecMenuItemChannelChooser : public cRecMenuItem {
private:
cString text;
+#if VDRVERSNUM >= 20301
+ const cChannels *channels;
+ const cChannel *chanNew;
+#else
+ cChannels *channels;
+ cChannel *chanNew;
+#endif
const cChannel *channel;
int channelNumber;
int *callback;
@@ -505,7 +512,6 @@ private:
void DrawValue(void);
public:
cRecMenuItemChannelChooser (cString text,
- const cChannel *initialChannel,
bool active = false,
int *callback = NULL,
eRecMenuState action = rmsNotConsumed);