From bdec7d4336d73b69b8ff33da44eea00e49b054e2 Mon Sep 17 00:00:00 2001 From: Lars Hanisch Date: Wed, 17 Aug 2011 22:16:02 +0200 Subject: add patch for vdr 1.7.19 and add support for new virtual methods of cDevice --- dynamicdevice.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'dynamicdevice.c') diff --git a/dynamicdevice.c b/dynamicdevice.c index 672cbb1..108ffaf 100644 --- a/dynamicdevice.c +++ b/dynamicdevice.c @@ -508,6 +508,13 @@ bool cDynamicDevice::HasDecoder(void) const return cDevice::HasDecoder(); } +bool cDynamicDevice::AvoidRecording(void) const +{ + if (subDevice) + return subDevice->AvoidRecording(); + return cDevice::AvoidRecording(); +} + cSpuDecoder *cDynamicDevice::GetSpuDecoder(void) { if (subDevice) @@ -620,6 +627,20 @@ int cDynamicDevice::NumProvidedSystems(void) const return cDevice::NumProvidedSystems(); } +int cDynamicDevice::SignalStrength(void) const +{ + if (subDevice) + return subDevice->SignalStrength(); + return cDevice::SignalStrength(); +} + +int cDynamicDevice::SignalQuality(void) const +{ + if (subDevice) + return subDevice->SignalQuality(); + return cDevice::SignalQuality(); +} + const cChannel *cDynamicDevice::GetCurrentlyTunedTransponder(void) const { if (!IsIdle() && subDevice) -- cgit v1.2.3