add startmmi / some changes
[vuplus_dvbapp] / lib / dvb_ci / dvbci.h
index eb4b6b0..7b8a8e2 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,27 @@ public:
        
        eDVBCIApplicationManagerSession *application_manager;
        eDVBCICAManagerSession *ca_manager;
+       
+       int getSlotID();
+       int reset();
+       int startMMI();
 };
 
 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);
+       int startMMI(int slot);
 };
 
 #endif