aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/frontend.h
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-06-06 00:03:39 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-06-06 00:03:39 +0000
commitb2eebd0fef155a40a8a74468c4488cfb0c656a9a (patch)
tree084b9876b33d54e838b1b9a964c8f63140537504 /lib/dvb/frontend.h
parent139ac47d708f47aed50c8863193c109739bfa93e (diff)
downloadenigma2-b2eebd0fef155a40a8a74468c4488cfb0c656a9a.tar.gz
enigma2-b2eebd0fef155a40a8a74468c4488cfb0c656a9a.zip
some fixes for empty tuner slots (use slotid instead of dvb api frontend
device id) replace some hacks with some better hacks ;)
Diffstat (limited to 'lib/dvb/frontend.h')
-rw-r--r--lib/dvb/frontend.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/dvb/frontend.h b/lib/dvb/frontend.h
index eb91eb72..c9474aef 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];
@@ -115,7 +118,9 @@ public:
void getFrontendData(ePyObject dest);
int isCompatibleWith(ePtr<iDVBFrontendParameters> &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();