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

Added support for cDevice::IsTunedToTransponder().

This commit is contained in:
Rolf Ahrenberg 2014-01-07 13:16:13 +02:00 committed by Rolf Ahrenberg
parent 412af81271
commit b0995c9a9e
2 changed files with 6 additions and 0 deletions

View File

@ -235,6 +235,11 @@ int cIptvDevice::NumProvidedSystems(void) const
return 1;
}
bool cIptvDevice::IsTunedToTransponder(const cChannel *channelP) const
{
return channelP ? (channelP->GetChannelID() == channelIdM) : false;
}
bool cIptvDevice::SetChannelDevice(const cChannel *channelP, bool liveViewP)
{
cIptvProtocolIf *protocol;

View File

@ -87,6 +87,7 @@ public:
virtual bool ProvidesChannel(const cChannel *channelP, int priorityP = -1, bool *needsDetachReceiversP = NULL) const;
virtual bool ProvidesEIT(void) const;
virtual int NumProvidedSystems(void) const;
virtual bool IsTunedToTransponder(const cChannel *channelP) const;
protected:
virtual bool SetChannelDevice(const cChannel *channelP, bool liveViewP);