aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/frontend.h
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-05-17 17:33:14 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-05-17 17:33:14 +0000
commit7ea97a85b8a5bc5a6f1fb75cb2c6335644b4ebc0 (patch)
tree61b3ae16aa353517e95ba38ffe3854744fa7eaec /lib/dvb/frontend.h
parent290f949e2e213b912a4b44250a38a2c5b4ae3fd3 (diff)
downloadenigma2-7ea97a85b8a5bc5a6f1fb75cb2c6335644b4ebc0.tar.gz
enigma2-7ea97a85b8a5bc5a6f1fb75cb2c6335644b4ebc0.zip
non blocking diseqc and sec stuff
Diffstat (limited to 'lib/dvb/frontend.h')
-rw-r--r--lib/dvb/frontend.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/dvb/frontend.h b/lib/dvb/frontend.h
index f4e99fae..1a68f89e 100644
--- a/lib/dvb/frontend.h
+++ b/lib/dvb/frontend.h
@@ -3,6 +3,9 @@
#include <config.h>
#include <lib/dvb/idvb.h>
+#include <lib/dvb/sec.h>
+
+class eSecCommandList;
class eDVBFrontendParameters: public iDVBFrontendParameters
{
@@ -39,15 +42,20 @@ class eDVBFrontend: public iDVBFrontend, public Object
#if HAVE_DVB_API_VERSION < 3
int m_secfd;
#endif
+ FRONTENDPARAMETERS parm;
int m_state;
Signal1<void,iDVBFrontend*> m_stateChanged;
ePtr<iDVBSatelliteEquipmentControl> m_sec;
eSocketNotifier *m_sn;
int m_tuning;
eTimer *m_timeout;
-
+ eTimer *m_tuneTimer;
+
void feEvent(int);
void timeout();
+ eSecCommandList m_sec_sequence;
+ void tuneLoop(); // called by m_tuneTimer
+ void setFrontend();
public:
eDVBFrontend(int adap, int fe, int &ok);
virtual ~eDVBFrontend();
@@ -59,7 +67,9 @@ public:
RESULT setTone(int tone);
RESULT setVoltage(int voltage);
RESULT sendDiseqc(const eDVBDiseqcCommand &diseqc);
+ RESULT sendToneburst(int burst);
RESULT setSEC(iDVBSatelliteEquipmentControl *sec);
+ RESULT setSecSequence(const eSecCommandList &list);
};
#endif