X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fdvb%2Ffrontend.h;h=61ea3bcfe7ee248aef8fb3b403b077c68de0ed7e;hp=cbe3dfc2ad53e914387e6ddeb57d12ecd23ccfa5;hb=10e7e45ae92d4fe06f70126ed256b87896dbc432;hpb=67dbb2973f32ccf52c0e5f3e2b5848320a215062 diff --git a/lib/dvb/frontend.h b/lib/dvb/frontend.h index cbe3dfc..61ea3bc 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,7 +85,7 @@ private: FRONTENDPARAMETERS parm; int m_state; ePtr m_sec; - eSocketNotifier *m_sn; + ePtr m_sn; int m_tuning; eTimer *m_timeout; eTimer *m_tuneTimer; @@ -106,7 +107,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 +142,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