git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add stuff to find a slot and call stuff from there
[enigma2.git]
/
lib
/
dvb_ci
/
dvbci.h
diff --git
a/lib/dvb_ci/dvbci.h
b/lib/dvb_ci/dvbci.h
index eb4b6b041aca99d4976292f63246a9ce916a6f8b..43952c2f06042e3e4049a2e85602daf6aade8c50 100644
(file)
--- a/
lib/dvb_ci/dvbci.h
+++ b/
lib/dvb_ci/dvbci.h
@@
-11,6
+11,7
@@
class eDVBCISlot: public iObject, public Object
{
DECLARE_REF(eDVBCISlot);
private:
{
DECLARE_REF(eDVBCISlot);
private:
+ int slotid;
int fd;
void data(int);
eSocketNotifier *notifier;
int fd;
void data(int);
eSocketNotifier *notifier;
@@
-25,16
+26,25
@@
public:
eDVBCIApplicationManagerSession *application_manager;
eDVBCICAManagerSession *ca_manager;
eDVBCIApplicationManagerSession *application_manager;
eDVBCICAManagerSession *ca_manager;
+
+ int getSlotID();
+ int reset();
};
class eDVBCIInterfaces
{
DECLARE_REF(eDVBCIInterfaces);
};
class eDVBCIInterfaces
{
DECLARE_REF(eDVBCIInterfaces);
+ static eDVBCIInterfaces *instance;
private:
eSmartPtrList<eDVBCISlot> m_slots;
private:
eSmartPtrList<eDVBCISlot> m_slots;
+ eDVBCISlot *getSlot(int slotid);
public:
eDVBCIInterfaces();
~eDVBCIInterfaces();
public:
eDVBCIInterfaces();
~eDVBCIInterfaces();
+
+ static eDVBCIInterfaces *getInstance();
+
+ int reset(int slot);
};
#endif
};
#endif