add eMainloop::reset to reset the app_quit_now flag in mainloop (to restart mainloops)
[enigma2.git] / lib / base / ebase.cpp
index addd1b88de2c080cc39f03ea58e3a8378816a550..635ce4769531b77dda9e172f6fc908a45d7de270 100644 (file)
@@ -350,6 +350,11 @@ int eMainloop::runLoop()
        return retval;
 }
 
+void eMainloop::reset()
+{
+       app_quit_now=false;
+}
+
 PyObject *eMainloop::poll(PyObject *timeout, PyObject *dict)
 {
        PyObject *res = 0;