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:
parent
412af81271
commit
b0995c9a9e
5
device.c
5
device.c
@ -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;
|
||||
|
1
device.h
1
device.h
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user