much better motor turning without possibility of power measurement
[enigma2.git] / lib / dvb / frontend.h
index 6e272aca852574a3f8bd2fb7fc40f79f2641b64f..e1556bd99fccd5e655397b88c0aacc37f7ba47ad 100644 (file)
@@ -63,6 +63,7 @@ public:
                FREQ_OFFSET,          // current frequency offset
                CUR_VOLTAGE,          // current voltage
                CUR_TONE,             // current continuous tone
+               SATCR,                // current SatCR
                NUM_DATA_ENTRIES
        };
        Signal1<void,iDVBFrontend*> m_stateChanged;
@@ -83,6 +84,8 @@ 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
        int m_state;
        ePtr<iDVBSatelliteEquipmentControl> m_sec;
        ePtr<eSocketNotifier> m_sn;
@@ -102,7 +105,7 @@ private:
        void feEvent(int);
        void timeout();
        void tuneLoop();  // called by m_tuneTimer
-       void setFrontend();
+       void setFrontend(bool recvEvents=true);
        bool setSecSequencePos(int steps);
        static int PriorityOrder;
 public:
@@ -142,6 +145,9 @@ public:
        int closeFrontend(bool force=false);
        const char *getDescription() const { return m_description; }
        bool is_simulate() const { return m_simulate; }
+
+       RESULT turnOffSatCR(int satcr);
+       RESULT ScanSatCR();
 };
 
 #endif // SWIG