harfang3d/harfang/platform/crash_dump.h
2021-10-13 14:40:31 +02:00

19 lines
540 B
C++

// HARFANG(R) Copyright (C) 2021 Emmanuel Julien, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details.
#pragma once
namespace hg {
/// Install the global platform crash handler.
void InstallCrashHandler();
/// Set the crash report filename.
void SetCrashReportFilename(const char *name);
/// Set the crash dump filename.
void SetCrashDumpFilename(const char *name);
/// Enable crash handler files.
void EnableCrashHandlerFiles(bool enable_crash_report, bool enable_crash_minidump);
} // namespace hg