overte/interface/src/CrashHandler.h
Heather Anderson af6d2b2e56 added timer to detect if the unhandle exception hook has been broken
added internal documentation on the structures and functions involved
2020-06-20 20:54:24 -07:00

22 lines
566 B
C++

//
// CrashHandler.h
// interface/src
//
// Created by Clement Brisset on 01/19/18.
// Copyright 2018 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef hifi_CrashHandler_h
#define hifi_CrashHandler_h
#include <string>
class QCoreApplication;
bool startCrashHandler(std::string appPath);
void setCrashAnnotation(std::string name, std::string value);
void startCrashHookMonitor(QCoreApplication* app);
#endif // hifi_CrashHandler_h