summaryrefslogtreecommitdiff
path: root/dvbdevice.h
diff options
context:
space:
mode:
authorMarkus Ehrnsperger <markus@vdr1.(none)>2011-01-23 22:20:57 +0100
committerMarkus Ehrnsperger <markus@vdr1.(none)>2011-01-23 22:20:57 +0100
commitac9d15a2a4e62971aee7932e55aa2d924f9b0261 (patch)
tree094246c234bce8f91e226d758f8437d62d095990 /dvbdevice.h
parent58db02442b375f5669416e6e744a8325ed363f99 (diff)
downloadvdr-patch-lnbsharing-ac9d15a2a4e62971aee7932e55aa2d924f9b0261.tar.gz
vdr-patch-lnbsharing-ac9d15a2a4e62971aee7932e55aa2d924f9b0261.tar.bz2
lnb-sharing 0.1.0lnb-sharing-0.1.0
Diffstat (limited to 'dvbdevice.h')
-rw-r--r--dvbdevice.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/dvbdevice.h b/dvbdevice.h
index ff606fd..446ea48 100644
--- a/dvbdevice.h
+++ b/dvbdevice.h
@@ -127,6 +127,26 @@ public:
virtual ~cDvbDevice();
virtual bool Ready(void);
+// LNB Sharing
+private:
+ char lnbState; // Current frequency band and polarization of the DVB-tuner
+ // cDiseqc *lnbSource; // can not #include "diseqc.h". A workaround follows:
+ int *lnbSource; // [DiSEqC] DiSEqC-Source
+ int lnbNr; // Number of LNB used
+// LNB Sharing-Ende
+
+public:
+ int *LnbSource(void) { return lnbSource; };
+ virtual int LnbNr(void) const { if(ProvidesSource(cSource::stSat)) return lnbNr; return CardIndex() * -1;};
+ virtual void SetLnbNrFromSetup(void);
+
+public:
+ virtual bool IsLnbConflict(const cChannel *Channel);
+ virtual bool IsShareLnb(const cDevice *Device);
+
+// LNB Sharing Ende
+
+
// Common Interface facilities:
private: