add stuff to find a slot and call stuff from there
[enigma2.git] / lib / dvb_ci / dvbci.h
index eb4b6b041aca99d4976292f63246a9ce916a6f8b..43952c2f06042e3e4049a2e85602daf6aade8c50 100644 (file)
@@ -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