summaryrefslogtreecommitdiff
path: root/PLUGINS.html
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-06-16 12:57:31 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-06-16 12:57:31 +0200
commita4bfddd2f995ad03409de005bc3015437c10aa06 (patch)
treed5959a667bcdb4b7aec55940aaaecfd398de3bb8 /PLUGINS.html
parentb005b8fc4a15926ab6f82c7ac19e5b13d811df5f (diff)
downloadvdr-a4bfddd2f995ad03409de005bc3015437c10aa06.tar.gz
vdr-a4bfddd2f995ad03409de005bc3015437c10aa06.tar.bz2
Totally rearranged device/player/recorder structures
Diffstat (limited to 'PLUGINS.html')
-rw-r--r--PLUGINS.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/PLUGINS.html b/PLUGINS.html
index f531f361..a0f7ebc9 100644
--- a/PLUGINS.html
+++ b/PLUGINS.html
@@ -864,15 +864,15 @@ If a plugin wants to get informed on various events in VDR, it can derive a clas
class cMyStatusMonitor : public cStatusMonitor {
protected:
- virtual void ChannelSwitch(const cDvbApi *DvbApi, int ChannelNumber);
+ virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber);
};
-void cMyStatusMonitor::ChannelSwitch(const cDvbApi *DvbApi, int ChannelNumber)
+void cMyStatusMonitor::ChannelSwitch(const cDevice *Device, int ChannelNumber)
{
if (ChannelNumber)
- dsyslog("channel switched to %d on DVB %d", ChannelNumber, DvbApi-&gt;CardIndex());
+ dsyslog("channel switched to %d on DVB %d", ChannelNumber, Device-&gt;CardIndex());
else
- dsyslog("about to switch channel on DVB %d", DvbApi-&gt;CardIndex());
+ dsyslog("about to switch channel on DVB %d", Device-&gt;CardIndex());
}
</pre></td></tr></table><p>