add needed functions
[enigma2.git] / lib / dvb / sec.h
index f80b25e53909174921f34dddd4aaf66c6dc969dc..aa9c02717a90d0bf2aa8064916db7af2ee517038 100644 (file)
@@ -165,8 +165,8 @@ public:
        {
                __u8 m_lo_direction;    // EAST, WEST
                __u8 m_la_direction;    // NORT, SOUTH
-               double m_longitude;     // longitude for gotoXX° function
-               double m_latitude;      // latitude for gotoXX° function
+               double m_longitude;     // longitude for gotoXX? function
+               double m_latitude;      // latitude for gotoXX? function
        };
        eDVBSatelliteRotorGotoxxParameters m_gotoxx_parameters;
 
@@ -211,11 +211,12 @@ class eDVBSatelliteEquipmentControl: public iDVBSatelliteEquipmentControl
        int m_lnbidx; // current index for set parameters
        std::map<int, eDVBSatelliteSwitchParameters>::iterator m_curSat;
        eSmartPtrList<eDVBRegisteredFrontend> &m_avail_frontends;
+       bool m_rotorMoving;
 #endif
 public:
-       DECLARE_REF(eDVBSatelliteEquipmentControl);
        eDVBSatelliteEquipmentControl(eSmartPtrList<eDVBRegisteredFrontend> &avail_frontends);
 #ifndef SWIG
+       DECLARE_REF(eDVBSatelliteEquipmentControl);
        RESULT prepare(iDVBFrontend &frontend, FRONTENDPARAMETERS &parm, eDVBFrontendParametersSatellite &sat, int frontend_id);
        int canTune(const eDVBFrontendParametersSatellite &feparm, iDVBFrontend *, int frontend_id);
        bool currentLNBValid() { return m_lnbidx > -1 && m_lnbidx < (int)(sizeof(m_lnbs) / sizeof(eDVBSatelliteLNBParameters)); }
@@ -252,6 +253,9 @@ public:
        RESULT setRotorPosNum(int rotor_pos_num);
 /* Tuner Specific Parameters */
        RESULT setTunerLinked(int from, int to);
+
+       void setRotorMoving(bool); // called from the frontend's
+       bool isRotorMoving();
 };
 
 #endif