fix tune failed problems on fast zap when a diseqc swicth is in use
[enigma2.git] / lib / dvb / frontend.h
index bbfd174d53d340f8f5289fcdb2edc3dd4fb81b49..49e2da89ffce2b8e54a1cb41324ecc6d7b24fade 100644 (file)
@@ -43,6 +43,9 @@ class eDVBFrontend: public iDVBFrontend, public Object
 {
 public:
        enum {
+               NEW_CSW,
+               NEW_UCSW,
+               NEW_TONEBURST,
                CSW,                  // state of the committed switch
                UCSW,                 // state of the uncommitted switch
                TONEBURST,            // current state of toneburst switch
@@ -67,6 +70,7 @@ private:
        int m_slotid;
        int m_fd;
        bool m_need_rotor_workaround;
+       bool m_can_handle_dvbs2;
        char m_filename[128];
        char m_description[128];
 #if HAVE_DVB_API_VERSION < 3
@@ -96,7 +100,6 @@ private:
        void tuneLoop();  // called by m_tuneTimer
        void setFrontend();
        bool setSecSequencePos(int steps);
-       void setRotorData(int pos, int cmd);
        static int PriorityOrder;
 public:
        eDVBFrontend(int adap, int fe, int &ok);        
@@ -132,7 +135,7 @@ public:
        static int getTypePriorityOrder() { return PriorityOrder; }
 
        int openFrontend();
-       int closeFrontend();
+       int closeFrontend(bool force=false);
        const char *getDescription() const { return m_description; }
 };