diff --git a/device.c b/device.c index f9a69db..9694396 100644 --- a/device.c +++ b/device.c @@ -254,6 +254,11 @@ bool cIptvDevice::IsTunedToTransponder(const cChannel *channelP) const return channelP ? (channelP->GetChannelID() == channelM.GetChannelID()) : false; } +bool cIptvDevice::MaySwitchTransponder(const cChannel *channelP) const +{ + return cDevice::MaySwitchTransponder(channelP); +} + bool cIptvDevice::SetChannelDevice(const cChannel *channelP, bool liveViewP) { cIptvProtocolIf *protocol; diff --git a/device.h b/device.h index 69d8875..6373962 100644 --- a/device.h +++ b/device.h @@ -90,6 +90,8 @@ public: virtual int NumProvidedSystems(void) const; virtual const cChannel *GetCurrentlyTunedTransponder(void) const; virtual bool IsTunedToTransponder(const cChannel *channelP) const; + virtual bool MaySwitchTransponder(const cChannel *channelP) const; + protected: virtual bool SetChannelDevice(const cChannel *channelP, bool liveViewP);