summaryrefslogtreecommitdiff
path: root/dvbdevice.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-06-02 13:28:42 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2011-06-02 13:28:42 +0200
commite572cbda47df902ae7d83313fd01483ce2d3193f (patch)
tree55a020216bff73ad3541089eabdd331f81ff5520 /dvbdevice.h
parent40278ec12131f07fdc15556511f689455e2b7931 (diff)
downloadvdr-e572cbda47df902ae7d83313fd01483ce2d3193f.tar.gz
vdr-e572cbda47df902ae7d83313fd01483ce2d3193f.tar.bz2
Implemented signal strength and quality handling
Diffstat (limited to 'dvbdevice.h')
-rw-r--r--dvbdevice.h5
1 files changed, 4 insertions, 1 deletions
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.