diff options
Diffstat (limited to 'next/main.cpp')
-rw-r--r-- | next/main.cpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/next/main.cpp b/next/main.cpp deleted file mode 100644 index 41761e8d9..000000000 --- a/next/main.cpp +++ /dev/null @@ -1,32 +0,0 @@ -#undef SLOT - -#include <ecl/ecl.h> -#include <eql5/eql.h> -#include <QApplication> -#include <QTextCodec> -#include <QSettings> -#include <QTranslator> - -extern "C" void init_lib_NEXT__ALL_SYSTEMS(cl_object); - -int catch_all_qexec() { - int ret = 0; - CL_CATCH_ALL_BEGIN(ecl_process_env()) { - ret = QApplication::exec(); } - CL_CATCH_ALL_END; - return ret; } - -int main(int argc, char** argv) { - - EQL::ini(argv); - - QApplication qapp(argc, argv); - - QTextCodec* utf8 = QTextCodec::codecForName("UTF-8"); - QTextCodec::setCodecForLocale(utf8); - - EQL eql; - - eql.exec(init_lib_NEXT__ALL_SYSTEMS); - - return catch_all_qexec(); } // closing the main/last window will quit the program |