diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-07-12 14:08:28 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-07-12 14:08:28 +0000 |
| commit | b47c326aad25626034d14ffb630628da2f0e8b97 (patch) | |
| tree | 3726fb06a7163361c257c1c76a5ffb488a7bae00 /lib | |
| parent | e39c12fcbf218f0964782a48d6e66145e1ce5039 (diff) | |
| download | enigma2-b47c326aad25626034d14ffb630628da2f0e8b97.tar.gz enigma2-b47c326aad25626034d14ffb630628da2f0e8b97.zip | |
- add eUsePtr for eDVBChannels
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/dvb/idvb.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/dvb/idvb.h b/lib/dvb/idvb.h index d521b999..882e9b15 100644 --- a/lib/dvb/idvb.h +++ b/lib/dvb/idvb.h @@ -414,7 +414,8 @@ public: state_idle, /* not yet tuned */ state_tuning, /* currently tuning (first time) */ state_unavailable, /* currently unavailable, will be back without further interaction */ - state_ok /* ok */ + state_ok, /* ok */ + state_release /* channel is being shut down. */ }; virtual RESULT connectStateChange(const Slot1<void,iDVBChannel*> &stateChange, ePtr<eConnection> &connection)=0; virtual RESULT getState(int &state)=0; @@ -428,6 +429,10 @@ public: /* direct frontend access for raw channels and/or status inquiries. */ virtual RESULT getFrontend(ePtr<iDVBFrontend> &frontend)=0; + + /* use count handling */ + virtual void AddUse() = 0; + virtual void ReleaseUse() = 0; }; class iDVBSectionReader; |
