From e572cbda47df902ae7d83313fd01483ce2d3193f Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Thu, 2 Jun 2011 13:28:42 +0200 Subject: Implemented signal strength and quality handling --- dvbdevice.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dvbdevice.h') diff --git a/dvbdevice.h b/dvbdevice.h index ff606fd4..0962548c 100644 --- a/dvbdevice.h +++ b/dvbdevice.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.h 2.14 2010/04/11 10:29:37 kls Exp $ + * $Id: dvbdevice.h 2.15 2011/06/02 13:20:05 kls Exp $ */ #ifndef __DVBDEVICE_H @@ -141,6 +141,8 @@ public: virtual bool ProvidesTransponder(const cChannel *Channel) const; virtual bool ProvidesChannel(const cChannel *Channel, int Priority = -1, bool *NeedsDetachReceivers = NULL) const; virtual int NumProvidedSystems(void) const; + virtual int SignalStrength(void) const; + virtual int SignalQuality(void) const; virtual const cChannel *GetCurrentlyTunedTransponder(void) const; virtual bool IsTunedToTransponder(const cChannel *Channel); protected: @@ -196,6 +198,7 @@ class cDvbDeviceProbe : public cListObject { public: cDvbDeviceProbe(void); virtual ~cDvbDeviceProbe(); + static uint32_t GetSubsystemId(int Adapter, int Frontend); virtual bool Probe(int Adapter, int Frontend) = 0; ///< Probes for a DVB device at the given Adapter and creates the appropriate ///< object derived from cDvbDevice if applicable. -- cgit v1.2.3