diff options
| author | Ronny Strutz <ronny.strutz@multimedia-labs.de> | 2005-11-18 01:46:22 +0000 |
|---|---|---|
| committer | Ronny Strutz <ronny.strutz@multimedia-labs.de> | 2005-11-18 01:46:22 +0000 |
| commit | 71efef08fb67e1287dc8f295e4ffe3cfc1aa23c1 (patch) | |
| tree | c693e032dc5ac218598dd66a41e036e37a5499ca /lib/dvb_ci/dvbci.cpp | |
| parent | 5861c3c104ddcb2f1dfe9eb8c660b9792e59f270 (diff) | |
| download | enigma2-71efef08fb67e1287dc8f295e4ffe3cfc1aa23c1.tar.gz enigma2-71efef08fb67e1287dc8f295e4ffe3cfc1aa23c1.zip | |
add startmmi / some changes
Diffstat (limited to 'lib/dvb_ci/dvbci.cpp')
| -rw-r--r-- | lib/dvb_ci/dvbci.cpp | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/lib/dvb_ci/dvbci.cpp b/lib/dvb_ci/dvbci.cpp index bbea1211..74fa66c7 100644 --- a/lib/dvb_ci/dvbci.cpp +++ b/lib/dvb_ci/dvbci.cpp @@ -55,6 +55,8 @@ eDVBCISlot *eDVBCIInterfaces::getSlot(int slotid) for(eSmartPtrList<eDVBCISlot>::iterator i(m_slots.begin()); i != m_slots.end(); ++i) if(i->getSlotID() == slotid) return i; + + printf("FIXME: request for unknown slot\n"); return 0; } @@ -63,14 +65,22 @@ int eDVBCIInterfaces::reset(int slotid) { eDVBCISlot *slot; - if( (slot = getSlot(slotid)) == 0 ) { - printf("FIXME: request for unknown slot\n"); - return 0; - } + if( (slot = getSlot(slotid)) == 0 ) + return -1; return slot->reset(); } +int eDVBCIInterfaces::startMMI(int slotid) +{ + eDVBCISlot *slot; + + if( (slot = getSlot(slotid)) == 0 ) + return -1; + + return slot->startMMI(); +} + int eDVBCISlot::send(const unsigned char *data, size_t len) { int res; @@ -179,4 +189,10 @@ int eDVBCISlot::reset() return 0; } +int eDVBCISlot::startMMI() +{ + printf("edvbcislot: startMMI()\n"); + return 0; +} + eAutoInitP0<eDVBCIInterfaces> init_eDVBCIInterfaces(eAutoInitNumbers::dvb, "CI Slots"); |
