1 #include <lib/dvb_ci/dvbci_ui.h>
2 #include <lib/dvb_ci/dvbci.h>
8 #include <lib/base/init.h>
9 #include <lib/base/init_num.h>
10 #include <lib/base/eerror.h>
11 #include <lib/base/estring.h>
15 eDVBCI_UI *eDVBCI_UI::instance;
17 eDVBCI_UI::eDVBCI_UI()
24 eDVBCI_UI *eDVBCI_UI::getInstance()
29 void eDVBCI_UI::setInit(int slot)
31 eDVBCIInterfaces::getInstance()->initialize(slot);
34 void eDVBCI_UI::setReset(int slot)
36 eDVBCIInterfaces::getInstance()->reset(slot);
39 int eDVBCI_UI::startMMI(int slot)
41 eDVBCIInterfaces::getInstance()->startMMI(slot);
45 int eDVBCI_UI::stopMMI(int slot)
47 eDVBCIInterfaces::getInstance()->stopMMI(slot);
51 int eDVBCI_UI::answerMenu(int slot, int answer)
53 eDVBCIInterfaces::getInstance()->answerText(slot, answer);
57 int eDVBCI_UI::answerEnq(int slot, char *value)
59 eDVBCIInterfaces::getInstance()->answerEnq(slot, value);
63 int eDVBCI_UI::cancelEnq(int slot)
65 eDVBCIInterfaces::getInstance()->cancelEnq(slot);
69 int eDVBCI_UI::getMMIState(int slot)
71 return eDVBCIInterfaces::getInstance()->getMMIState(slot);
74 int eDVBCI_UI::setClockRate(int slot, int rate)
76 return eDVBCIInterfaces::getInstance()->setCIClockRate(slot, rate);
79 //FIXME: correct "run/startlevel"
80 eAutoInitP0<eDVBCI_UI> init_dvbciui(eAutoInitNumbers::rc, "DVB-CI UI");