X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/8a54d14d80727d2da69979419630c438967276e5..ce38faaf7ce4c1320fa42109c13a60d74ab8cd9c:/lib/dvb/frontend.h diff --git a/lib/dvb/frontend.h b/lib/dvb/frontend.h index e1556bd9..bef4a18f 100644 --- a/lib/dvb/frontend.h +++ b/lib/dvb/frontend.h @@ -75,6 +75,7 @@ private: int m_dvbid; int m_slotid; int m_fd; + bool m_rotor_mode; bool m_need_rotor_workaround; bool m_can_handle_dvbs2; char m_filename[128]; @@ -84,8 +85,12 @@ private: char m_sec_filename[128]; #endif FRONTENDPARAMETERS parm; - int m_cur_orbpos; // only valid when this is a DVB-S tuner - int m_cur_pol; // only valid when this is a DVB-S tuner + union { + eDVBFrontendParametersSatellite sat; + eDVBFrontendParametersCable cab; + eDVBFrontendParametersTerrestrial ter; + } oparm; + int m_state; ePtr m_sec; ePtr m_sn; @@ -105,6 +110,7 @@ private: void feEvent(int); void timeout(); void tuneLoop(); // called by m_tuneTimer + int tuneLoopInt(); void setFrontend(bool recvEvents=true); bool setSecSequencePos(int steps); static int PriorityOrder; @@ -125,7 +131,7 @@ public: RESULT sendDiseqc(const eDVBDiseqcCommand &diseqc); RESULT sendToneburst(int burst); RESULT setSEC(iDVBSatelliteEquipmentControl *sec); - RESULT setSecSequence(const eSecCommandList &list); + RESULT setSecSequence(eSecCommandList &list); RESULT getData(int num, long &data); RESULT setData(int num, long val); @@ -141,13 +147,11 @@ public: static void setTypePriorityOrder(int val) { PriorityOrder = val; } static int getTypePriorityOrder() { return PriorityOrder; } + void reopenFrontend(); int openFrontend(); - int closeFrontend(bool force=false); + int closeFrontend(bool force=false, bool no_delayed=false); const char *getDescription() const { return m_description; } bool is_simulate() const { return m_simulate; } - - RESULT turnOffSatCR(int satcr); - RESULT ScanSatCR(); }; #endif // SWIG