diff options
author | Lars Hanisch <dvb@flensrocker.de> | 2011-08-17 22:16:02 +0200 |
---|---|---|
committer | Lars Hanisch <dvb@flensrocker.de> | 2011-08-17 22:16:02 +0200 |
commit | bdec7d4336d73b69b8ff33da44eea00e49b054e2 (patch) | |
tree | 107dacebe57cf4d5f8fe412b55fd087ea8de5a99 /dynamicdevice.c | |
parent | 3049ae76983337cfc736ddcf4f1855fa22e3fd66 (diff) | |
download | vdr-plugin-dynamite-bdec7d4336d73b69b8ff33da44eea00e49b054e2.tar.gz vdr-plugin-dynamite-bdec7d4336d73b69b8ff33da44eea00e49b054e2.tar.bz2 |
add patch for vdr 1.7.19 and add support for new virtual methods of cDevicev0.0.6h
Diffstat (limited to 'dynamicdevice.c')
-rw-r--r-- | dynamicdevice.c | 21 |
1 files changed, 21 insertions, 0 deletions
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) |