From a4bfddd2f995ad03409de005bc3015437c10aa06 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 16 Jun 2002 12:57:31 +0200 Subject: Totally rearranged device/player/recorder structures --- PLUGINS.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'PLUGINS.html') 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->CardIndex()); + dsyslog("channel switched to %d on DVB %d", ChannelNumber, Device->CardIndex()); else - dsyslog("about to switch channel on DVB %d", DvbApi->CardIndex()); + dsyslog("about to switch channel on DVB %d", Device->CardIndex()); }

-- cgit v1.2.3