X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/2c1f4947646d051133197a23a73ee985b56e1713..20fdb2a2af40da98427a702a03a79b1fbec3d7af:/lib/dvb/dvb.h diff --git a/lib/dvb/dvb.h b/lib/dvb/dvb.h index 355e2469..5c3c5150 100644 --- a/lib/dvb/dvb.h +++ b/lib/dvb/dvb.h @@ -7,7 +7,6 @@ #include #include -class eDVBChannel; class eDVBChannel; /* we do NOT handle resource conflicts here. instead, the allocateChannel @@ -142,6 +141,8 @@ class eDVBResourceManager: public iObject Signal1 m_channelAdded; Signal1 m_channelRemoved; Signal1 m_channelRunning; + + bool canAllocateFrontend(ePtr &feparm, int used_tuner_mask); public: eDVBResourceManager(); virtual ~eDVBResourceManager(); @@ -158,13 +159,15 @@ public: }; /* allocate channel... */ - RESULT allocateChannel(const eDVBChannelID &channelid, eUsePtr &channel, bool fake=false); + RESULT allocateChannel(const eDVBChannelID &channelid, eUsePtr &channel); RESULT allocateRawChannel(eUsePtr &channel, int frontend_index); RESULT allocatePVRChannel(eUsePtr &channel); RESULT connectChannelAdded(const Slot1 &channelAdded, ePtr &connection); RESULT connectChannelRemoved(const Slot1 &channelRemoved, ePtr &connection); RESULT connectChannelRunning(const Slot1 &channelRemoved, ePtr &connection); + + bool canAllocateChannel(const eDVBChannelID &channelid); }; class eFilePushThread;