summaryrefslogtreecommitdiff
path: root/smtled.c
diff options
context:
space:
mode:
authorThomas Maass <mase@mase1.setho.org>2013-11-04 16:01:08 +0100
committerThomas Maass <mase@mase1.setho.org>2013-11-04 16:01:08 +0100
commit6c68cba02f5b00198ebdc00547aaab4ce62011cd (patch)
treec90b42ceb1523a81100cdb33c710910feee337e8 /smtled.c
parentf4430a81fa5eea12317e6de8a50448e04dfeda77 (diff)
downloadvdr-plugin-smtled-master.tar.gz
vdr-plugin-smtled-master.tar.bz2
Release 0.0.5.HEADmaster
Fixed for VDR 2.0.x.
Diffstat (limited to 'smtled.c')
-rw-r--r--smtled.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/smtled.c b/smtled.c
index 74d5901..d162449 100644
--- a/smtled.c
+++ b/smtled.c
@@ -21,7 +21,7 @@
#include <vdr/status.h>
-static const char *VERSION = "0.0.4";
+static const char *VERSION = "0.0.5";
static const char *DESCRIPTION = "Samsung LED display plugin";
static const char *MAINMENUENTRY = NULL;
@@ -34,7 +34,7 @@ private:
int reccount;
protected:
virtual void SetLED(char * cr);
- virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber);
+ virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView = true);
virtual void Recording(const cDevice *Device, const char *Name, const char *FileName, bool On);
public:
cSmtledTest(void);
@@ -62,7 +62,7 @@ void cSmtledTest::SetLED(char* cw)
}
-void cSmtledTest::ChannelSwitch(const cDevice *Device, int ChannelNumber)
+void cSmtledTest::ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView)
{
if ( !Device->IsPrimaryDevice() || (ChannelNumber == 0) ) {
dsyslog("status: cSmtledTest::ChannelSwitch ignore device %d channel %d",