aboutsummaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-01-05 21:34:48 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-01-05 21:34:48 +0000
commitd026012d8ba6198d879df68cb4bf6c92c95a633a (patch)
tree0ca023e07c8030c0f4196891e413fc1682f0558d /main
parenta7bc9fd319677465f0561773401ff0390ae3af9c (diff)
downloadenigma2-d026012d8ba6198d879df68cb4bf6c92c95a633a.tar.gz
enigma2-d026012d8ba6198d879df68cb4bf6c92c95a633a.zip
make our event loop compatible to my new twisted reactor core
Diffstat (limited to 'main')
-rw-r--r--main/enigma.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/enigma.cpp b/main/enigma.cpp
index 2003a452..a3770b86 100644
--- a/main/enigma.cpp
+++ b/main/enigma.cpp
@@ -236,8 +236,6 @@ int main(int argc, char **argv)
python.execute("mytest", "__main__");
-// eApp->exec();
-
return exit_code;
}
@@ -246,9 +244,14 @@ eWidgetDesktop *getDesktop()
return wdsk;
}
+eApplication *getApplication()
+{
+ return eApp;
+}
+
void runMainloop()
{
- exit_code = eApp->exec();
+ exit_code = eApp->runLoop();
}
void quitMainloop(int exitCode)