API change of VDR 1.7.22

This commit is contained in:
Frank Schmirler 2011-12-09 09:05:09 +01:00
parent 59c6558ce3
commit 3440072e7e
3 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,7 @@
VDR Plugin 'streamdev' Revision History
---------------------------------------
- API change of VDR 1.7.22
- VDR 1.7.22 obsoletes cap_net_raw patch. Added cap_net_raw patch for VDR
1.7.5 - 1.7.21.
- Update and UTF-8 conversion of Finnish po files (thanks to Rolf Ahrenberg)

View File

@ -70,7 +70,11 @@ bool cStreamdevDevice::ProvidesTransponder(const cChannel *Channel) const
return true;
}
#if APIVERSNUM >= 10722
bool cStreamdevDevice::IsTunedToTransponder(const cChannel *Channel) const
#else
bool cStreamdevDevice::IsTunedToTransponder(const cChannel *Channel)
#endif
{
bool res = false;
if (ClientSocket.DataSocket(siLive) != NULL

View File

@ -61,7 +61,11 @@ public:
#if APIVERSNUM >= 10719
virtual bool AvoidRecording(void) const { return true; }
#endif
#if APIVERSNUM >= 10722
virtual bool IsTunedToTransponder(const cChannel *Channel) const;
#else
virtual bool IsTunedToTransponder(const cChannel *Channel);
#endif
virtual int SignalStrength(void) const;
virtual int SignalQuality(void) const;