gcc_visibility_default JNIEXPORT void JNICALL Java_org_xcsoar_NativeView_runNative(JNIEnv *env, jobject obj) { InitThreadDebug(); OpenGL::Initialise(); CheckLogCat(*io_thread); CommonInterface::main_window->RunEventLoop(); }
gcc_visibility_default JNIEXPORT void JNICALL Java_org_xcsoar_NativeView_runNative(JNIEnv *env, jobject obj) { InitThreadDebug(); OpenGL::Initialise(); if (CheckLogCat()) ShowMessageBox(_T("How embarassing, we're terribly sorry!\n" "Please submit a bug report and " "include the file from the 'crash' directory.\n" "http://bugs.xcsoar.org/newticket\n" "After your report, we'll fix it ASAP."), _T("XCSoar has crashed recently"), MB_OK|MB_ICONERROR); CommonInterface::main_window->RunEventLoop(); }