From 2050f7ac7b720727c8f4e5026789e1f007abfa0b Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 11 Mar 2012 14:50:04 +0100 Subject: Added new parameter LiveView to ChannelSwitch() --- PLUGINS/src/status/status.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'PLUGINS/src/status/status.c') diff --git a/PLUGINS/src/status/status.c b/PLUGINS/src/status/status.c index 39598713..e27fa5d9 100644 --- a/PLUGINS/src/status/status.c +++ b/PLUGINS/src/status/status.c @@ -3,13 +3,13 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: status.c 1.10 2008/02/16 15:41:05 kls Exp $ + * $Id: status.c 2.1 2012/03/11 14:48:37 kls Exp $ */ #include #include -static const char *VERSION = "0.3.0"; +static const char *VERSION = "0.3.1"; static const char *DESCRIPTION = "Status monitor test"; static const char *MAINMENUENTRY = NULL; @@ -18,7 +18,7 @@ static const char *MAINMENUENTRY = NULL; class cStatusTest : public cStatus { protected: virtual void TimerChange(const cTimer *Timer, eTimerChange Change); - virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber); + virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView); virtual void Recording(const cDevice *Device, const char *Name, const char *FileName, bool On); virtual void Replaying(const cControl *Control, const char *Name, const char *FileName, bool On); virtual void SetVolume(int Volume, bool Absolute); @@ -41,9 +41,9 @@ void cStatusTest::TimerChange(const cTimer *Timer, eTimerChange Change) dsyslog("status: cStatusTest::TimerChange %s %d", Timer ? *Timer->ToText(true) : "-", Change); } -void cStatusTest::ChannelSwitch(const cDevice *Device, int ChannelNumber) +void cStatusTest::ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView) { - dsyslog("status: cStatusTest::ChannelSwitch %d %d", Device->CardIndex(), ChannelNumber); + dsyslog("status: cStatusTest::ChannelSwitch %d %d %d", Device->CardIndex(), ChannelNumber, LiveView); } void cStatusTest::Recording(const cDevice *Device, const char *Name, const char *FileName, bool On) -- cgit v1.2.3