add the missing ca-mgr code ;)
[enigma2.git] / lib / dvb_ci / dvbci.h
index 961999e93b353408ec4e114ad2ae531aa63fcaf0..b72b21b1ef82bdc36e6fb72b87496a9807da84e1 100644 (file)
@@ -4,8 +4,10 @@
 #include <lib/base/ebase.h>
 
 class eDVBCISession;
+class eDVBCIApplicationManagerSession;
+class eDVBCICAManagerSession;
 
-class eDVBCISlot: public Object
+class eDVBCISlot: public iObject, public Object
 {
 DECLARE_REF(eDVBCISlot);
 private:
@@ -14,13 +16,17 @@ private:
        eSocketNotifier *notifier_data;
        void event(int);
        eSocketNotifier *notifier_event;
-       
-       eDVBCISession *se;
+
+       int state;
+       enum {stateRemoved, stateInserted};     
 public:
        eDVBCISlot(eMainloop *context, int nr);
        virtual ~eDVBCISlot();
        
        int eDVBCISlot::write(const unsigned char *data, size_t len);
+       
+       eDVBCIApplicationManagerSession *application_manager;
+       eDVBCICAManagerSession *ca_manager;
 };
 
 class eDVBCIInterfaces