mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:20:54 +01:00
11 lines
302 B
C
11 lines
302 B
C
#pragma once
|
|
|
|
void InstallCrashHandler(bool aServer, bool aSkyrim = true);
|
|
void UninstallCrashHandler();
|
|
|
|
struct ScopedCrashHandler
|
|
{
|
|
ScopedCrashHandler(bool aServer = false, bool aSkyrim = true) { InstallCrashHandler(aServer, aSkyrim); }
|
|
|
|
~ScopedCrashHandler() { UninstallCrashHandler(); }
|
|
};
|