X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/cb0260fc843d3d7386dd79ae977081d0ad082e04..7fe27f601f70eddb3019e22cbdb8388c05d3af7e:/lib/dvb_ci/dvbci.h diff --git a/lib/dvb_ci/dvbci.h b/lib/dvb_ci/dvbci.h index 1576b4fd..fc6323e8 100644 --- a/lib/dvb_ci/dvbci.h +++ b/lib/dvb_ci/dvbci.h @@ -24,6 +24,9 @@ private: int state; enum {stateRemoved, stateInserted}; uint8_t prev_sent_capmt_version; + eDVBCIApplicationManagerSession *application_manager; + eDVBCICAManagerSession *ca_manager; + eDVBCIMMISession *mmi_session; public: int use_count; @@ -31,11 +34,15 @@ public: ~eDVBCISlot(); int send(const unsigned char *data, size_t len); - - eDVBCIApplicationManagerSession *application_manager; - eDVBCICAManagerSession *ca_manager; - eDVBCIMMISession *mmi_session; - + + void setAppManager( eDVBCIApplicationManagerSession *session ); + void setMMIManager( eDVBCIMMISession *session ); + void setCAManager( eDVBCICAManagerSession *session ); + + eDVBCIApplicationManagerSession *getAppManager() { return application_manager; } + eDVBCIMMISession *getMMIManager() { return mmi_session; } + eDVBCICAManagerSession *getCAManager() { return ca_manager; } + int getSlotID(); int reset(); int initialize(); @@ -45,11 +52,12 @@ public: int answerEnq(char *value); int cancelEnq(); int getMMIState(); + void resendCAPMT(); int sendCAPMT(eDVBServicePMTHandler *ptr, const std::vector &caids=std::vector()); uint8_t getPrevSentCAPMTVersion() const { return prev_sent_capmt_version; } void resetPrevSentCAPMTVersion() { prev_sent_capmt_version = 0xFF; } - enableTS(int enable); + int enableTS(int enable); }; @@ -99,6 +107,7 @@ public: int cancelEnq(int slot); int getMMIState(int slot); int enableTS(int slot, int enable); + int sendCAPMT(int slot); }; #endif