1
0
mirror of https://github.com/rofafor/vdr-plugin-iptv.git synced 2023-10-10 13:37:03 +02:00

Added initial support for cDevice::MaySwitchTransponder().

This commit is contained in:
Rolf Ahrenberg 2014-01-14 18:40:54 +02:00
parent 9e6d784aec
commit 6b0337d078
2 changed files with 7 additions and 0 deletions

View File

@ -254,6 +254,11 @@ bool cIptvDevice::IsTunedToTransponder(const cChannel *channelP) const
return channelP ? (channelP->GetChannelID() == channelM.GetChannelID()) : false; 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) bool cIptvDevice::SetChannelDevice(const cChannel *channelP, bool liveViewP)
{ {
cIptvProtocolIf *protocol; cIptvProtocolIf *protocol;

View File

@ -90,6 +90,8 @@ public:
virtual int NumProvidedSystems(void) const; virtual int NumProvidedSystems(void) const;
virtual const cChannel *GetCurrentlyTunedTransponder(void) const; virtual const cChannel *GetCurrentlyTunedTransponder(void) const;
virtual bool IsTunedToTransponder(const cChannel *channelP) const; virtual bool IsTunedToTransponder(const cChannel *channelP) const;
virtual bool MaySwitchTransponder(const cChannel *channelP) const;
protected: protected:
virtual bool SetChannelDevice(const cChannel *channelP, bool liveViewP); virtual bool SetChannelDevice(const cChannel *channelP, bool liveViewP);