diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2014-01-25 10:54:51 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2014-01-25 10:54:51 +0100 |
commit | fdbf796b6b9dbe83c6874002c1e01dbac09f7eae (patch) | |
tree | 71abc2eac5e3bfb6674233ed6f4ac574a8a7125c /status.c | |
parent | 5ac41bf09175b48cf09606c1cd16bf0615ced837 (diff) | |
download | vdr-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.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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)) |