Remove check legacy dvbapi version.
[vuplus_dvbapp] / lib / dvb / frontend.h
index aceb856..6a8c39d 100644 (file)
@@ -77,6 +77,7 @@ private:
        bool m_simulate;
        bool m_enabled;
        bool m_fbc;
+       bool m_is_usbtuner;
        eDVBFrontend *m_simulate_fe; // only used to set frontend type in dvb.cpp
        int m_dvbid;
        int m_slotid;
@@ -86,10 +87,6 @@ private:
        std::map<fe_delivery_system_t, bool> m_delsys, m_delsys_whitelist;
        char m_filename[128];
        char m_description[128];
-#if HAVE_DVB_API_VERSION < 3
-       int m_secfd;
-       char m_sec_filename[128];
-#endif
        FRONTENDPARAMETERS parm;
        eDVBFrontendParameters oparm;
 
@@ -160,10 +157,12 @@ public:
        const char *getDescription() const { return m_description; }
        bool is_simulate() const { return m_simulate; }
        bool is_FBCTuner() { return m_fbc; }
+       void setFBCTuner(bool enable) { m_fbc = enable; }
        bool getEnabled() { return m_enabled; }
        void setEnabled(bool enable) { m_enabled = enable; }
        bool isLoopTimerActive() { return m_tuneTimer->isActive(); }
        bool isScheduledSendDiseqc();
+       void setUSBTuner(bool yesno) { m_is_usbtuner = yesno; }
 };
 
 #endif // SWIG