summaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2014-01-25 10:54:51 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2014-01-25 10:54:51 +0100
commitfdbf796b6b9dbe83c6874002c1e01dbac09f7eae (patch)
tree71abc2eac5e3bfb6674233ed6f4ac574a8a7125c /status.c
parent5ac41bf09175b48cf09606c1cd16bf0615ced837 (diff)
downloadvdr-fdbf796b6b9dbe83c6874002c1e01dbac09f7eae.tar.gz
vdr-fdbf796b6b9dbe83c6874002c1e01dbac09f7eae.tar.bz2
The new function cStatus::ChannelChange() can be implemented by plugins to be informed about changes to the parameters of a channel that may require a retune
Diffstat (limited to 'status.c')
-rw-r--r--status.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/status.c b/status.c
index b0a6aba0..10b8ce8a 100644
--- a/status.c
+++ b/status.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: status.c 2.1 2012/03/07 14:17:24 kls Exp $
+ * $Id: status.c 3.1 2014/01/25 10:47:39 kls Exp $
*/
#include "status.h"
@@ -23,6 +23,12 @@ cStatus::~cStatus()
statusMonitors.Del(this, false);
}
+void cStatus::MsgChannelChange(const cChannel *Channel)
+{
+ for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm))
+ sm->ChannelChange(Channel);
+}
+
void cStatus::MsgTimerChange(const cTimer *Timer, eTimerChange Change)
{
for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm))