X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/682b9158bbddde229a2559365aa108812b15de61..4b0342f51438d402e55632f25ad580cc68a5f501:/lib/dvb_ci/dvbci.h diff --git a/lib/dvb_ci/dvbci.h b/lib/dvb_ci/dvbci.h index 961999e9..eb4b6b04 100644 --- a/lib/dvb_ci/dvbci.h +++ b/lib/dvb_ci/dvbci.h @@ -4,32 +4,37 @@ #include class eDVBCISession; +class eDVBCIApplicationManagerSession; +class eDVBCICAManagerSession; -class eDVBCISlot: public Object +class eDVBCISlot: public iObject, public Object { DECLARE_REF(eDVBCISlot); private: int fd; void data(int); - eSocketNotifier *notifier_data; - void event(int); - eSocketNotifier *notifier_event; - - eDVBCISession *se; + eSocketNotifier *notifier; + + int state; + enum {stateRemoved, stateInserted}; public: eDVBCISlot(eMainloop *context, int nr); - virtual ~eDVBCISlot(); + ~eDVBCISlot(); + + int send(const unsigned char *data, size_t len); - int eDVBCISlot::write(const unsigned char *data, size_t len); + eDVBCIApplicationManagerSession *application_manager; + eDVBCICAManagerSession *ca_manager; }; class eDVBCIInterfaces { +DECLARE_REF(eDVBCIInterfaces); private: eSmartPtrList m_slots; public: eDVBCIInterfaces(); - virtual ~eDVBCIInterfaces(); + ~eDVBCIInterfaces(); }; #endif