From d026012d8ba6198d879df68cb4bf6c92c95a633a Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Thu, 5 Jan 2006 21:34:48 +0000 Subject: make our event loop compatible to my new twisted reactor core --- main/enigma.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'main') 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) -- cgit v1.2.3