diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-06-16 13:26:00 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-06-16 13:26:00 +0200 |
commit | 3ab746babd6d879f05b4cbc76662c65cf4146397 (patch) | |
tree | 0312baea9a9cef76689a86d6e74ffed68320e1cc /status.c | |
parent | a4bfddd2f995ad03409de005bc3015437c10aa06 (diff) | |
download | vdr-3ab746babd6d879f05b4cbc76662c65cf4146397.tar.gz vdr-3ab746babd6d879f05b4cbc76662c65cf4146397.tar.bz2 |
Changed 'cStatusMonitor' to 'cStatus'1.1.3
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 58 |
1 files changed, 29 insertions, 29 deletions
@@ -4,93 +4,93 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: status.c 1.2 2002/06/16 12:10:44 kls Exp $ + * $Id: status.c 1.3 2002/06/16 13:24:36 kls Exp $ */ #include "status.h" -// --- cStatusMonitor -------------------------------------------------------- +// --- cStatus --------------------------------------------------------------- -cList<cStatusMonitor> cStatusMonitor::statusMonitors; +cList<cStatus> cStatus::statusMonitors; -cStatusMonitor::cStatusMonitor(void) +cStatus::cStatus(void) { statusMonitors.Add(this); } -cStatusMonitor::~cStatusMonitor() +cStatus::~cStatus() { statusMonitors.Del(this, false); } -void cStatusMonitor::MsgChannelSwitch(const cDevice *Device, int ChannelNumber) +void cStatus::MsgChannelSwitch(const cDevice *Device, int ChannelNumber) { - for (cStatusMonitor *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) + for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) sm->ChannelSwitch(Device, ChannelNumber); } -void cStatusMonitor::MsgRecording(const cDevice *Device, const char *Name) +void cStatus::MsgRecording(const cDevice *Device, const char *Name) { - for (cStatusMonitor *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) + for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) sm->Recording(Device, Name); } -void cStatusMonitor::MsgReplaying(const cDvbPlayerControl *DvbPlayerControl, const char *Name) +void cStatus::MsgReplaying(const cDvbPlayerControl *DvbPlayerControl, const char *Name) { - for (cStatusMonitor *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) + for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) sm->Replaying(DvbPlayerControl, Name); } -void cStatusMonitor::MsgSetVolume(int Volume, bool Absolute) +void cStatus::MsgSetVolume(int Volume, bool Absolute) { - for (cStatusMonitor *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) + for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) sm->SetVolume(Volume, Absolute); } -void cStatusMonitor::MsgOsdClear(void) +void cStatus::MsgOsdClear(void) { - for (cStatusMonitor *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) + for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) sm->OsdClear(); } -void cStatusMonitor::MsgOsdTitle(const char *Title) +void cStatus::MsgOsdTitle(const char *Title) { - for (cStatusMonitor *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) + for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) sm->OsdTitle(Title); } -void cStatusMonitor::MsgOsdStatusMessage(const char *Message) +void cStatus::MsgOsdStatusMessage(const char *Message) { - for (cStatusMonitor *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) + for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) sm->OsdStatusMessage(Message); } -void cStatusMonitor::MsgOsdHelpKeys(const char *Red, const char *Green, const char *Yellow, const char *Blue) +void cStatus::MsgOsdHelpKeys(const char *Red, const char *Green, const char *Yellow, const char *Blue) { - for (cStatusMonitor *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) + for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) sm->OsdHelpKeys(Red, Green, Yellow, Blue); } -void cStatusMonitor::MsgOsdCurrentItem(const char *Text) +void cStatus::MsgOsdCurrentItem(const char *Text) { - for (cStatusMonitor *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) + for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) sm->OsdCurrentItem(Text); } -void cStatusMonitor::MsgOsdTextItem(const char *Text, bool Scroll) +void cStatus::MsgOsdTextItem(const char *Text, bool Scroll) { - for (cStatusMonitor *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) + for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) sm->OsdTextItem(Text, Scroll); } -void cStatusMonitor::MsgOsdChannel(const char *Text) +void cStatus::MsgOsdChannel(const char *Text) { - for (cStatusMonitor *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) + for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) sm->OsdChannel(Text); } -void cStatusMonitor::MsgOsdProgramme(time_t PresentTime, const char *PresentTitle, const char *PresentSubtitle, time_t FollowingTime, const char *FollowingTitle, const char *FollowingSubtitle) +void cStatus::MsgOsdProgramme(time_t PresentTime, const char *PresentTitle, const char *PresentSubtitle, time_t FollowingTime, const char *FollowingTitle, const char *FollowingSubtitle) { - for (cStatusMonitor *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) + for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) sm->OsdProgramme(PresentTime, PresentTitle, PresentSubtitle, FollowingTime, FollowingTitle, FollowingSubtitle); } |