X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/c4bab36eed7b9ce0ba0b16775a9d429c71c5eed7..47d8b92ec24731d30ed5410e49cad01542eb0203:/lib/dvb_ci/dvbci.h diff --git a/lib/dvb_ci/dvbci.h b/lib/dvb_ci/dvbci.h index 78c1cc8e..eb4b6b04 100644 --- a/lib/dvb_ci/dvbci.h +++ b/lib/dvb_ci/dvbci.h @@ -4,6 +4,8 @@ #include class eDVBCISession; +class eDVBCIApplicationManagerSession; +class eDVBCICAManagerSession; class eDVBCISlot: public iObject, public Object { @@ -11,26 +13,28 @@ DECLARE_REF(eDVBCISlot); private: int fd; void data(int); - eSocketNotifier *notifier_data; - void event(int); - eSocketNotifier *notifier_event; + eSocketNotifier *notifier; int state; enum {stateRemoved, stateInserted}; public: eDVBCISlot(eMainloop *context, int nr); - virtual ~eDVBCISlot(); + ~eDVBCISlot(); - int eDVBCISlot::write(const unsigned char *data, size_t len); + int send(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