return slot->answerEnq(answer, value);
}
+int eDVBCIInterfaces::getMMIState(int slotid)
+{
+ eDVBCISlot *slot;
+
+ if( (slot = getSlot(slotid)) == 0 )
+ return -1;
+
+ return slot->getMMIState();
+}
+
int eDVBCISlot::send(const unsigned char *data, size_t len)
{
int res;
return 0;
}
+int eDVBCISlot::getMMIState()
+{
+ if(mmi_session)
+ return 1;
+
+ return 0;
+}
+
int eDVBCISlot::answerEnq(int answer, char *value)
{
printf("edvbcislot: answerMMI(%d,%s)\n", answer, value);
int stopMMI();
int answerText(int answer);
int answerEnq(int answer, char *value);
+ int getMMIState();
};
class eDVBCIInterfaces
int stopMMI(int slot);
int answerText(int slot, int answer);
int answerEnq(int slot, int answer, char *value);
+ int getMMIState(int slot);
};
#endif