X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/b9bda8a0d43be892f2e5d96ea45ba8d4b2fdae20..0b3f18c91718d63aa418d95a81d8464914cd4031:/lib/dvb/frontend.h diff --git a/lib/dvb/frontend.h b/lib/dvb/frontend.h index cfe25d1a..0bef95d1 100644 --- a/lib/dvb/frontend.h +++ b/lib/dvb/frontend.h @@ -39,9 +39,12 @@ class eDVBFrontend: public iDVBFrontend, public Object { DECLARE_REF(eDVBFrontend); int m_type; - int m_fe; + int m_dvbid; + int m_slotid; int m_fd; + bool m_need_rotor_workaround; char m_filename[128]; + char m_description[128]; #if HAVE_DVB_API_VERSION < 3 int m_secfd; char m_sec_filename[128]; @@ -89,6 +92,7 @@ class eDVBFrontend: public iDVBFrontend, public Object void setFrontend(); int readInputpower(); bool setSecSequencePos(int steps); + void setRotorData(int pos, int cmd); public: eDVBFrontend(int adap, int fe, int &ok); virtual ~eDVBFrontend(); @@ -109,13 +113,15 @@ public: RESULT getData(int num, int &data); RESULT setData(int num, int val); - int readFrontendData(int type); // bitErrorRate, signalPower, signalQuality, locked, synced + int readFrontendData(int type); // bitErrorRate, signalPower, signalPowerdB, signalQuality, locked, synced void getFrontendStatus(ePyObject dest); void getTransponderData(ePyObject dest, bool original); void getFrontendData(ePyObject dest); int isCompatibleWith(ePtr &feparm); - int getID() { return m_fe; } + int getDVBID() { return m_dvbid; } + int getSlotID() { return m_slotid; } + void setSlotInfo(ePyObject obj); // get a tuple (slotid, slotdescr) int openFrontend(); int closeFrontend();