X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/67dbb2973f32ccf52c0e5f3e2b5848320a215062..41c124fa6370bb3933c28c50ee1964a1450d3ca7:/lib/dvb/frontend.h diff --git a/lib/dvb/frontend.h b/lib/dvb/frontend.h index cbe3dfc2..06ed12cc 100644 --- a/lib/dvb/frontend.h +++ b/lib/dvb/frontend.h @@ -68,6 +68,7 @@ public: Signal1 m_stateChanged; private: DECLARE_REF(eDVBFrontend); + bool m_simulate; bool m_enabled; int m_type; int m_dvbid; @@ -84,10 +85,9 @@ private: FRONTENDPARAMETERS parm; int m_state; ePtr m_sec; - eSocketNotifier *m_sn; + ePtr m_sn; int m_tuning; - eTimer *m_timeout; - eTimer *m_tuneTimer; + ePtr m_timeout, m_tuneTimer; eSecCommandList m_sec_sequence; @@ -106,7 +106,7 @@ private: bool setSecSequencePos(int steps); static int PriorityOrder; public: - eDVBFrontend(int adap, int fe, int &ok); + eDVBFrontend(int adap, int fe, int &ok, bool simulate=false); virtual ~eDVBFrontend(); int readInputpower(); @@ -141,6 +141,7 @@ public: int openFrontend(); int closeFrontend(bool force=false); const char *getDescription() const { return m_description; } + bool is_simulate() const { return m_simulate; } }; #endif // SWIG