diff options
-rw-r--r-- | dynamicdevice.c | 9 | ||||
-rw-r--r-- | dynamicdevice.h | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dynamicdevice.c b/dynamicdevice.c index 21768c5..98efd37 100644 --- a/dynamicdevice.c +++ b/dynamicdevice.c @@ -909,6 +909,15 @@ int cDynamicDevice::NumProvidedSystems(void) const return cDevice::NumProvidedSystems(); } +#if VDRVERSNUM > 20101 +const cPositioner *cDynamicDevice::Positioner(void) const +{ + if (subDevice) + return subDevice->Positioner(); + return cDevice::Positioner(); +} +#endif + int cDynamicDevice::SignalStrength(void) const { if (subDevice) diff --git a/dynamicdevice.h b/dynamicdevice.h index fa35795..0b39ec7 100644 --- a/dynamicdevice.h +++ b/dynamicdevice.h @@ -107,6 +107,9 @@ public: virtual bool ProvidesTransponderExclusively(const cChannel *Channel) const; virtual bool ProvidesChannel(const cChannel *Channel, int Priority = IDLEPRIORITY, bool *NeedsDetachReceivers = NULL) const; virtual int NumProvidedSystems(void) const; +#if VDRVERSNUM > 20101 + virtual const cPositioner *Positioner(void) const; +#endif virtual int SignalStrength(void) const; virtual int SignalQuality(void) const; virtual const cChannel *GetCurrentlyTunedTransponder(void) const; |