aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb_ci/dvbci.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dvb_ci/dvbci.h')
-rw-r--r--lib/dvb_ci/dvbci.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/dvb_ci/dvbci.h b/lib/dvb_ci/dvbci.h
index eb4b6b04..43952c2f 100644
--- 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:
+ int slotid;
int fd;
void data(int);
eSocketNotifier *notifier;
@@ -25,16 +26,25 @@ public:
eDVBCIApplicationManagerSession *application_manager;
eDVBCICAManagerSession *ca_manager;
+
+ int getSlotID();
+ int reset();
};
class eDVBCIInterfaces
{
DECLARE_REF(eDVBCIInterfaces);
+ static eDVBCIInterfaces *instance;
private:
eSmartPtrList<eDVBCISlot> m_slots;
+ eDVBCISlot *getSlot(int slotid);
public:
eDVBCIInterfaces();
~eDVBCIInterfaces();
+
+ static eDVBCIInterfaces *getInstance();
+
+ int reset(int slot);
};
#endif