diff options
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 14 |
1 files changed, 13 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 1.8 2005/12/31 15:10:10 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)) @@ -59,6 +65,12 @@ void cStatus::MsgSetAudioChannel(int AudioChannel) sm->SetAudioChannel(AudioChannel); } +void cStatus::MsgSetSubtitleTrack(int Index, const char * const *Tracks) +{ + for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) + sm->SetSubtitleTrack(Index, Tracks); +} + void cStatus::MsgOsdClear(void) { for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) |