aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb_ci/dvbci.cpp
diff options
context:
space:
mode:
authorRonny Strutz <ronny.strutz@multimedia-labs.de>2005-11-23 02:20:26 +0000
committerRonny Strutz <ronny.strutz@multimedia-labs.de>2005-11-23 02:20:26 +0000
commit3eba2c632cc9515a424a2986d6bdeb690f15fd81 (patch)
tree49ee964599af9f56dca657fd8f707ce010d6620d /lib/dvb_ci/dvbci.cpp
parentbc2ca7e050e29371cf973fc4a780f99e7c36c87c (diff)
downloadenigma2-3eba2c632cc9515a424a2986d6bdeb690f15fd81.tar.gz
enigma2-3eba2c632cc9515a424a2986d6bdeb690f15fd81.zip
add cancelenq
Diffstat (limited to 'lib/dvb_ci/dvbci.cpp')
-rw-r--r--lib/dvb_ci/dvbci.cpp28
1 files changed, 24 insertions, 4 deletions
diff --git a/lib/dvb_ci/dvbci.cpp b/lib/dvb_ci/dvbci.cpp
index 31dc65ad..3ddd9bb6 100644
--- a/lib/dvb_ci/dvbci.cpp
+++ b/lib/dvb_ci/dvbci.cpp
@@ -116,14 +116,24 @@ int eDVBCIInterfaces::answerText(int slotid, int answer)
return slot->answerText(answer);
}
-int eDVBCIInterfaces::answerEnq(int slotid, int answer, char *value)
+int eDVBCIInterfaces::answerEnq(int slotid, char *value)
{
eDVBCISlot *slot;
if( (slot = getSlot(slotid)) == 0 )
return -1;
- return slot->answerEnq(answer, value);
+ return slot->answerEnq(value);
+}
+
+int eDVBCIInterfaces::cancelEnq(int slotid)
+{
+ eDVBCISlot *slot;
+
+ if( (slot = getSlot(slotid)) == 0 )
+ return -1;
+
+ return slot->cancelEnq();
}
void eDVBCIInterfaces::addPMTHandler(eDVBServicePMTHandler *pmthandler)
@@ -367,9 +377,19 @@ int eDVBCISlot::getMMIState()
return 0;
}
-int eDVBCISlot::answerEnq(int answer, char *value)
+int eDVBCISlot::answerEnq(char *value)
{
- printf("edvbcislot: answerMMI(%d,%s)\n", answer, value);
+ printf("edvbcislot: answerENQ(%s)\n", value);
+ return 0;
+}
+
+int eDVBCISlot::cancelEnq()
+{
+ printf("edvbcislot: cancelENQ\n");
+
+ if(mmi_session)
+ mmi_session->cancelEnq();
+
return 0;
}