change servicelist window and font size
[enigma2.git] / lib / dvb_ci / dvbci_ui.cpp
index 8dfb87e39408bcd2684bb43ccf04f336957d8a16..b424c4da6790d3ecb41bb76cabb709a9ff849694 100644 (file)
@@ -4,6 +4,8 @@
 #include <fcntl.h>
 #include <sys/ioctl.h>
 
+#include <string>
+
 #include <lib/base/init.h>
 #include <lib/base/init_num.h>
 #include <lib/base/econfig.h>
@@ -36,5 +38,27 @@ int eDVBCI_UI::getState(int slot)
        return state[slot];     //exploit me ;)
 }
 
+void eDVBCI_UI::setState(int slot, int newState)
+{
+       state[slot] = newState;
+}
+
+std::string eDVBCI_UI::getAppName(int slot)
+{
+       return appName;
+}
+
+void eDVBCI_UI::setAppName(int slot, const char *name)
+{
+       printf("set name to -%c-\n", name);
+       appName = name;
+}
+
+void eDVBCI_UI::setReset(int slot)
+{
+       printf("reset requested on slot %d\n", slot);
+       //we have to call the eDVBCISlot here
+}
+
 //FIXME: correct "run/startlevel"
 eAutoInitP0<eDVBCI_UI> init_dvbciui(eAutoInitNumbers::rc, "DVB-CI UI");