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:
parent
9e6d784aec
commit
6b0337d078
5
device.c
5
device.c
@ -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;
|
||||||
|
2
device.h
2
device.h
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user