retry frontend close every 60 seconds when frontend is busy
[enigma2.git] / lib / dvb / frontend.h
index 8da0829c84ba30cc7731b58297940d1c80ecf9cf..c702970bb706d08b6d420ce5412575f0b3e9f3ab 100644 (file)
@@ -40,9 +40,12 @@ class eDVBFrontend: public iDVBFrontend, public Object
        int m_type;
        int m_fe;
        int m_fd;
        int m_type;
        int m_fe;
        int m_fd;
+       char m_filename[128];
 #if HAVE_DVB_API_VERSION < 3
        int m_secfd;
 #if HAVE_DVB_API_VERSION < 3
        int m_secfd;
+       char m_secfilename[128];
 #endif
 #endif
+
        FRONTENDPARAMETERS parm;
        int m_state;
        Signal1<void,iDVBFrontend*> m_stateChanged;
        FRONTENDPARAMETERS parm;
        int m_state;
        Signal1<void,iDVBFrontend*> m_stateChanged;
@@ -93,10 +96,11 @@ public:
        RESULT setData(int num, int val);
 
        int readFrontendData(int type); // bitErrorRate, signalPower, signalQuality
        RESULT setData(int num, int val);
 
        int readFrontendData(int type); // bitErrorRate, signalPower, signalQuality
-
        int isCompatibleWith(ePtr<iDVBFrontendParameters> &feparm);
        int isCompatibleWith(ePtr<iDVBFrontendParameters> &feparm);
-       
        int getID() { return m_fe; }
        int getID() { return m_fe; }
+
+       int openFrontend();
+       int closeFrontend();
 };
 
 #endif
 };
 
 #endif