diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-06-26 15:28:24 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-06-26 15:28:24 +0000 |
| commit | 2bc720f79ea42168572ba458fec5b2cffb175a04 (patch) | |
| tree | f9156461d1fa1b24e86bb9cead85064110f16f77 /lib/dvb/dvb.h | |
| parent | f053f1b4c7c7b4ae8591e7a0a45b6cd215d74f7d (diff) | |
| download | enigma2-2bc720f79ea42168572ba458fec5b2cffb175a04.tar.gz enigma2-2bc720f79ea42168572ba458fec5b2cffb175a04.zip | |
add support for show used tuner for running service in the infobar
add support for show all tuners in use in the infobar
add support for show the currently date in the infobar
now all skins have to define some new widgets in skin.. look in skin.xml and
search for "not used in this skin yet"
Diffstat (limited to 'lib/dvb/dvb.h')
| -rw-r--r-- | lib/dvb/dvb.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/dvb/dvb.h b/lib/dvb/dvb.h index bc51ccd8..4ca986b1 100644 --- a/lib/dvb/dvb.h +++ b/lib/dvb/dvb.h @@ -23,6 +23,7 @@ class eDVBRegisteredFrontend: public iObject, public Object { DECLARE_REF(eDVBRegisteredFrontend); eTimer *disable; + Signal0<void> stateChanged; void closeFrontend() { if (!m_inuse && m_frontend->closeFrontend()) // frontend busy @@ -38,12 +39,18 @@ public: void dec_use() { if (!--m_inuse) + { + /* emit */ stateChanged(); disable->start(3000, true); + } } void inc_use() { if (++m_inuse == 1) + { m_frontend->openFrontend(); + /* emit */ stateChanged(); + } } iDVBAdapter *m_adapter; ePtr<eDVBFrontend> m_frontend; @@ -175,6 +182,7 @@ class eDVBResourceManager: public iObject, public Object eTimer m_releaseCachedChannelTimer; void DVBChannelStateChanged(iDVBChannel*); void releaseCachedChannel(); + void feStateChanged(); #ifndef SWIG public: #endif @@ -199,6 +207,7 @@ public: #ifdef SWIG public: #endif + PSignal1<void,int> frontendUseMaskChanged; RESULT allocateRawChannel(eUsePtr<iDVBChannel> &, int frontend_index); static RESULT getInstance(ePtr<eDVBResourceManager> &); }; |
