better solution to add possibility to delete eSocketNotifiers,
[vuplus_dvbapp] / lib / dvb_ci / dvbci.h
index 603fadf..4e3fcce 100644 (file)
@@ -41,11 +41,10 @@ enum data_source
 class eDVBCISlot: public iObject, public Object
 {
        friend class eDVBCIInterfaces;
-DECLARE_REF(eDVBCISlot);
-private:
+       DECLARE_REF(eDVBCISlot);
        int slotid;
        int fd;
-       eSocketNotifier *notifier;
+       ePtr<eSocketNotifier> notifier;
        int state;
        std::map<uint16_t, uint8_t> running_services;
        eDVBCIApplicationManagerSession *application_manager;
@@ -112,9 +111,8 @@ typedef std::list<CIPmtHandler> PMTHandlerList;
 
 class eDVBCIInterfaces
 {
-DECLARE_REF(eDVBCIInterfaces);
+       DECLARE_REF(eDVBCIInterfaces);
        static eDVBCIInterfaces *instance;
-private:
        eSmartPtrList<eDVBCISlot> m_slots;
        eDVBCISlot *getSlot(int slotid);
        PMTHandlerList m_pmt_handlers;