add remove/add partition interface for external applications not using autofs
[enigma2.git] / lib / dvb_ci / dvbci_camgr.h
1 #ifndef __dvbci_dvbci_camgr_h
2 #define __dvbci_dvbci_camgr_h
3
4 #include <vector>
5
6 #include <lib/dvb_ci/dvbci_session.h>
7
8 class eDVBCICAManagerSession: public eDVBCISession
9 {
10         enum {
11                 stateFinal=statePrivate,
12         };
13         std::vector<uint16_t> caids;
14         int receivedAPDU(const unsigned char *tag, const void *data, int len);
15         int doAction();
16 public:
17         eDVBCICAManagerSession(eDVBCISlot *tslot);
18         ~eDVBCICAManagerSession();
19
20         const std::vector<uint16_t> &getCAIDs() const { return caids; }
21         int sendCAPMT(unsigned char *pmt, int len);
22 };
23
24 #endif