git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3f96445
)
add getRefCount to evaluate if a demux is in use
author
Felix Domke
<tmbinc@elitedvb.net>
Thu, 13 Apr 2006 00:51:40 +0000
(
00:51
+0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Thu, 13 Apr 2006 00:51:40 +0000
(
00:51
+0000)
lib/dvb/demux.h
patch
|
blob
|
history
diff --git
a/lib/dvb/demux.h
b/lib/dvb/demux.h
index 8f11e8403e6b9165bc69f9f8e3c292a39fb5b663..b14dfd263f09311ecf5d3b50f2e5728cbb13f4a4 100644
(file)
--- a/
lib/dvb/demux.h
+++ b/
lib/dvb/demux.h
@@
-24,6
+24,8
@@
public:
RESULT getCADemuxID(uint8_t &id) { id = demux; return 0; }
RESULT flush();
RESULT connectEvent(const Slot1<void,int> &event, ePtr<eConnection> &conn);
RESULT getCADemuxID(uint8_t &id) { id = demux; return 0; }
RESULT flush();
RESULT connectEvent(const Slot1<void,int> &event, ePtr<eConnection> &conn);
+
+ int getRefCount() { return ref; }
private:
int adapter, demux;
private:
int adapter, demux;