libpromeki 1.0.0-alpha
PROfessional MEdia toolKIt
 
Loading...
Searching...
No Matches
crashhandler.h
Go to the documentation of this file.
1
8#pragma once
9
10
11#include <promeki/config.h>
12#if PROMEKI_ENABLE_CORE
13#include <promeki/namespace.h>
14
15PROMEKI_NAMESPACE_BEGIN
16
66class CrashHandler {
67 public:
101 static void install();
102
108 static void uninstall();
109
114 static bool isInstalled();
115
146 static void writeTrace(const char *reason = nullptr);
147
152 static bool consoleTraceEnabled();
153
163 static void setConsoleTraceEnabled(bool enabled);
164};
165
166PROMEKI_NAMESPACE_END
167
168#endif // PROMEKI_ENABLE_CORE