X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/20fdb2a2af40da98427a702a03a79b1fbec3d7af..ed31f016b6ab55e864bb31bcc0f4c922dfeb7040:/lib/dvb/dvb.h diff --git a/lib/dvb/dvb.h b/lib/dvb/dvb.h index 5c3c5150..ee8ea8ef 100644 --- a/lib/dvb/dvb.h +++ b/lib/dvb/dvb.h @@ -137,12 +137,10 @@ class eDVBResourceManager: public iObject friend class eDVBChannel; RESULT addChannel(const eDVBChannelID &chid, eDVBChannel *ch); RESULT removeChannel(eDVBChannel *ch); - + Signal1 m_channelAdded; - Signal1 m_channelRemoved; - Signal1 m_channelRunning; - bool canAllocateFrontend(ePtr &feparm, int used_tuner_mask); + bool canAllocateFrontend(ePtr &feparm); public: eDVBResourceManager(); virtual ~eDVBResourceManager(); @@ -164,10 +162,8 @@ public: 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); + bool canAllocateChannel(const eDVBChannelID &channelid, const eDVBChannelID &ignore); }; class eFilePushThread; @@ -201,6 +197,7 @@ public: there is an unknown amount of buffers in between */ RESULT seekToPosition(iDVBDemux *decoding_demux, const off_t &off); + int getUseCount() { return m_use_count; } private: ePtr m_frontend; ePtr m_demux, m_decoder_demux;