add tuner B option "Equal to Socket A"
[enigma2.git] / lib / dvb / frontend.h
index 8da0829c84ba30cc7731b58297940d1c80ecf9cf..0a7943f997b47e5da30ab06de55b879da27c2a2f 100644 (file)
@@ -40,9 +40,12 @@ class eDVBFrontend: public iDVBFrontend, public Object
        int m_type;
        int m_fe;
        int m_fd;
+       char m_filename[128];
 #if HAVE_DVB_API_VERSION < 3
        int m_secfd;
+       char m_sec_filename[128];
 #endif
+
        FRONTENDPARAMETERS parm;
        int m_state;
        Signal1<void,iDVBFrontend*> m_stateChanged;
@@ -54,7 +57,7 @@ class eDVBFrontend: public iDVBFrontend, public Object
 
        eSecCommandList m_sec_sequence;
 
-       int m_data[8]; /* when satellite frontend then
+       int m_data[9]; /* when satellite frontend then
                data[0] = lastcsw -> state of the committed switch
                data[1] = lastucsw -> state of the uncommitted switch
                data[2] = lastToneburst -> current state of toneburst switch
@@ -62,7 +65,8 @@ class eDVBFrontend: public iDVBFrontend, public Object
                data[4] = newRotorPos -> current Rotor Position
                data[5] = curRotorCmd
                data[6] = curRotorPos
-               data[7] = linkedToTunerNo */
+               data[7] = linkedToTunerNo
+               data[8] = dependsToTunerNo (just satpos.. for rotor with twin lnb) */
 
        int m_idleInputpower[2];  // 13V .. 18V
        int m_runningInputpower;
@@ -93,10 +97,11 @@ public:
        RESULT setData(int num, int val);
 
        int readFrontendData(int type); // bitErrorRate, signalPower, signalQuality
-
        int isCompatibleWith(ePtr<iDVBFrontendParameters> &feparm);
-       
        int getID() { return m_fe; }
+
+       int openFrontend();
+       int closeFrontend();
 };
 
 #endif