mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-17 15:07:06 +02:00
13 lines
376 B
C++
13 lines
376 B
C++
#pragma once
|
|
#include "logging.h"
|
|
namespace dingosdk::logging::detail {
|
|
struct PreserveError {
|
|
DWORD saved{GetLastError()};
|
|
~PreserveError() { SetLastError(saved); }
|
|
};
|
|
std::string utf8(std::wstring_view text);
|
|
std::string clean(std::string_view text);
|
|
void install_crash_report(const std::filesystem::path& directory) noexcept;
|
|
void remove_crash_report() noexcept;
|
|
}
|