mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-12-26 23:06:44 +01:00
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
This commit is contained in:
8
status.c
8
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))
|
||||
|
||||
Reference in New Issue
Block a user