add mmi
[vuplus_dvbapp] / lib / dvb_ci / dvbci.h
index 961999e..b72b21b 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