aboutsummaryrefslogtreecommitdiff
path: root/lib/base/ebase.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-03-30 23:31:35 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-03-30 23:31:35 +0000
commit0c9e75c44d610465017a08874a5e2f585bc554aa (patch)
tree40d1ae87ee16edfe94679363f91cbd14d1e51c64 /lib/base/ebase.cpp
parent9b02ceae89a3b478549f6dbd89ba7aa174cb7b12 (diff)
downloadenigma2-0c9e75c44d610465017a08874a5e2f585bc554aa.tar.gz
enigma2-0c9e75c44d610465017a08874a5e2f585bc554aa.zip
add eMainloop::reset to reset the app_quit_now flag in mainloop (to restart mainloops)
Diffstat (limited to 'lib/base/ebase.cpp')
-rw-r--r--lib/base/ebase.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/base/ebase.cpp b/lib/base/ebase.cpp
index addd1b88..635ce476 100644
--- a/lib/base/ebase.cpp
+++ b/lib/base/ebase.cpp
@@ -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;