Added cStatus::TimerChange()

This commit is contained in:
Klaus Schmidinger
2008-02-16 15:04:49 +01:00
parent 6b35173789
commit 6140c49f14
6 changed files with 53 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: status.c 1.9 2008/02/16 13:50:15 kls Exp $
* $Id: status.c 1.10 2008/02/16 14:46:31 kls Exp $
*/
#include "status.h"
@@ -23,6 +23,12 @@ cStatus::~cStatus()
statusMonitors.Del(this, false);
}
void cStatus::MsgTimerChange(const cTimer *Timer, eTimerChange Change)
{
for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm))
sm->TimerChange(Timer, Change);
}
void cStatus::MsgChannelSwitch(const cDevice *Device, int ChannelNumber)
{
for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm))