X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fdvb%2Fdvb.h;h=10ad09412716d4adfd868a35f3a34f2bbd8a08f7;hb=a48c08bd5cff6e23bc94ccf0b183a20d4dc0252b;hp=f612affb67c1ebe930a4c938e0845c44352c8072;hpb=d6b8ff865af5c59b109c7e6ede3868db11e46f7d;p=vuplus_dvbapp diff --git a/lib/dvb/dvb.h b/lib/dvb/dvb.h index f612aff..10ad094 100644 --- a/lib/dvb/dvb.h +++ b/lib/dvb/dvb.h @@ -135,7 +135,7 @@ class eDVBResourceManager: public iObject, public Object DECLARE_REF(eDVBResourceManager); int avail, busy; - enum { DM7025, DM800, DM500HD, DM800SE, DM8000 }; + enum { DM7025, DM800, DM500HD, DM800SE, DM8000, DM7020HD }; int m_boxtype; @@ -191,11 +191,11 @@ public: }; RESULT connectChannelAdded(const Slot1 &channelAdded, ePtr &connection); - int canAllocateChannel(const eDVBChannelID &channelid, const eDVBChannelID &ignore, bool simulate=false); + int canAllocateChannel(const eDVBChannelID &channelid, const eDVBChannelID &ignore, int &system, bool simulate=false); /* allocate channel... */ RESULT allocateChannel(const eDVBChannelID &channelid, eUsePtr &channel, bool simulate=false); - RESULT allocatePVRChannel(eUsePtr &channel); + RESULT allocatePVRChannel(const eDVBChannelID &channelid, eUsePtr &channel); static RESULT getInstance(ePtr &); /* allocates a frontend able to tune to frontend paramters 'feperm'. @@ -218,6 +218,8 @@ public: PSignal1 frontendUseMaskChanged; SWIG_VOID(RESULT) allocateRawChannel(eUsePtr &SWIG_OUTPUT, int slot_index); PyObject *setFrontendSlotInformations(SWIG_PYOBJECT(ePyObject) list); + bool frontendIsCompatible(int index, const char *type); + void setFrontendType(int index, const char *type); }; SWIG_TEMPLATE_TYPEDEF(ePtr, eDVBResourceManager); SWIG_EXTEND(ePtr,