7 #define _POSIX_C_SOURCE 200112L
8 #include <lib/python/python.h>
9 #include <lib/python/connections.h>
26 static eDVBCI_UI *instance;
28 slot_ui_data slotdata[MAX_SLOTS];
34 PSignal1<void,int> ciStateChanged;
39 static eDVBCI_UI *getInstance();
41 int getState(int slot);
42 void setState(int slot, int state);
43 std::string getAppName(int slot);
44 void setAppName(int slot, const char *name);
45 void setInit(int slot);
46 void setReset(int slot);
47 int startMMI(int slot);
48 int stopMMI(int slot);
49 int availableMMI(int slot);
50 int getMMIState(int slot);
51 int answerMenu(int slot, int answer);
52 int answerEnq(int slot, char *val);
53 int cancelEnq(int slot);
55 PyObject *getMMIScreen(int slot);
57 int mmiScreenClose(int slot, int timeout);
58 int mmiScreenEnq(int slot, int blind, int answerLen, char *text);
59 int mmiScreenBegin(int slot, int listmenu);
60 int mmiScreenAddText(int slot, int type, char *value);
61 int mmiScreenFinish(int slot);
62 void mmiSessionDestroyed(int slot);