]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/windows/application.cpp
Redesign uncaught exception handling to allow external reporters
[libs/core.git] / source / core / windows / application.cpp
diff --git a/source/core/windows/application.cpp b/source/core/windows/application.cpp
deleted file mode 100644 (file)
index ed8702a..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <windows.h>
-#include <typeinfo>
-#include <msp/debug/demangle.h>
-#include "application.h"
-
-using namespace std;
-
-namespace Msp {
-
-void Application::display_exception(const exception &e)
-{
-       string msg = Debug::demangle(typeid(e).name())+":\n"+e.what();
-       MessageBoxA(0, msg.c_str(), "Uncaught exception", MB_OK|MB_ICONERROR);
-}
-
-} // namespace Msp