summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/main.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-08-30 10:19:10 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-08-30 10:22:12 +0200
commit0027139d8348e07e6a2d9734489964961294fe22 (patch)
tree490a4b215f6005e7f444f4f97cddaf60f357fcd0 /facetracknoir/main.cpp
parent512d269886e2d27c105157ef0db926fe03d48f70 (diff)
remove MSVC support
Leave as-is to avoid unconditionally assuming GNU extensions and ABI
Diffstat (limited to 'facetracknoir/main.cpp')
-rw-r--r--facetracknoir/main.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/facetracknoir/main.cpp b/facetracknoir/main.cpp
index 3143a093..9bf11b32 100644
--- a/facetracknoir/main.cpp
+++ b/facetracknoir/main.cpp
@@ -32,34 +32,8 @@
#include <QStringList>
#include <memory>
-#if defined(_WIN32) && defined(_MSC_VER)
-# include <windows.h>
-# ifdef OPENTRACK_BREAKPAD
-# include <exception_handler.h>
-using namespace google_breakpad;
-bool dumpCallback(const wchar_t* dump_path,
- const wchar_t* minidump_id,
- void* context,
- EXCEPTION_POINTERS* exinfo,
- MDRawAssertionInfo* assertion,
- bool succeeded)
-{
- MessageBoxA(GetDesktopWindow(),
- "Generating crash dump!\r\n"
- "Please send the .dmp file to <sthalik@misaki.pl> to help us improve the code.",
- "opentrack crashed :(",
- MB_OK | MB_ICONERROR);
- return succeeded;
-}
-
-# endif
-#endif
-
int main(int argc, char** argv)
{
-#if defined(OPENTRACK_BREAKPAD) && defined(_MSC_VER)
- auto handler = new ExceptionHandler(L".", nullptr, dumpCallback, nullptr, -1);
-#endif
QApplication::setAttribute(Qt::AA_X11InitThreads, true);
QApplication app(argc, argv);
auto w = std::make_shared<FaceTrackNoIR>();