git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- fix event info
[enigma2.git]
/
lib
/
dvb
/
frontend.h
diff --git
a/lib/dvb/frontend.h
b/lib/dvb/frontend.h
index c179d5744a1df19f869933e22dfd2f47b09d4fff..1a68f89e2e1d61578fc3b8eafd7c2fc00d5aa469 100644
(file)
--- a/
lib/dvb/frontend.h
+++ b/
lib/dvb/frontend.h
@@
-1,11
+1,15
@@
#ifndef __dvb_frontend_h
#define __dvb_frontend_h
#ifndef __dvb_frontend_h
#define __dvb_frontend_h
+#include <config.h>
#include <lib/dvb/idvb.h>
#include <lib/dvb/idvb.h>
+#include <lib/dvb/sec.h>
+
+class eSecCommandList;
class eDVBFrontendParameters: public iDVBFrontendParameters
{
class eDVBFrontendParameters: public iDVBFrontendParameters
{
- DECLARE_REF;
+ DECLARE_REF
(eDVBFrontendParameters)
;
union
{
eDVBFrontendParametersSatellite sat;
union
{
eDVBFrontendParametersSatellite sat;
@@
-32,18
+36,26
@@
public:
class eDVBFrontend: public iDVBFrontend, public Object
{
class eDVBFrontend: public iDVBFrontend, public Object
{
- DECLARE_REF;
+ DECLARE_REF
(eDVBFrontend)
;
int m_type;
int m_fd;
int m_type;
int m_fd;
+#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;
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();
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();
public:
eDVBFrontend(int adap, int fe, int &ok);
virtual ~eDVBFrontend();
@@
-55,7
+67,9
@@
public:
RESULT setTone(int tone);
RESULT setVoltage(int voltage);
RESULT sendDiseqc(const eDVBDiseqcCommand &diseqc);
RESULT setTone(int tone);
RESULT setVoltage(int voltage);
RESULT sendDiseqc(const eDVBDiseqcCommand &diseqc);
+ RESULT sendToneburst(int burst);
RESULT setSEC(iDVBSatelliteEquipmentControl *sec);
RESULT setSEC(iDVBSatelliteEquipmentControl *sec);
+ RESULT setSecSequence(const eSecCommandList &list);
};
#endif
};
#endif