re-add mutex_unlock after pthread_cond_wait,
[enigma2.git] / lib / dvb_ci / dvbci_mmi.h
1 #ifndef __dvbci_dvbci_mmi_h
2 #define __dvbci_dvbci_mmi_h
3
4 #include <lib/dvb_ci/dvbci_session.h>
5
6 class eDVBCIMMISession: public eDVBCISession
7 {
8         enum {
9                 stateDisplayReply=statePrivate, stateFakeOK, stateIdle
10         };
11         
12         int receivedAPDU(const unsigned char *tag, const void *data, int len);
13         int doAction();
14         eDVBCISlot *slot;
15 public:
16         eDVBCIMMISession(eDVBCISlot *tslot);
17         ~eDVBCIMMISession();
18         int stopMMI();
19         int answerText(int answer);
20         int answerEnq(char *answer);
21         int cancelEnq();
22 };
23
24 #endif