diff options
author | Thomas Maass <mase@mase1.setho.org> | 2013-11-04 16:01:08 +0100 |
---|---|---|
committer | Thomas Maass <mase@mase1.setho.org> | 2013-11-04 16:01:08 +0100 |
commit | 6c68cba02f5b00198ebdc00547aaab4ce62011cd (patch) | |
tree | c90b42ceb1523a81100cdb33c710910feee337e8 /smtled.c | |
parent | f4430a81fa5eea12317e6de8a50448e04dfeda77 (diff) | |
download | vdr-plugin-smtled-master.tar.gz vdr-plugin-smtled-master.tar.bz2 |
Fixed for VDR 2.0.x.
Diffstat (limited to 'smtled.c')
-rw-r--r-- | smtled.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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", |