mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-24 23:01:23 -04:00
e7ab978a30
* Initial Draft - Add draft crash report window on startup If you want to disable them before/during startup, there is a command line option to force it * Fixes - Update language to be more precise, consistent with settings menu - Actually shut down reporting properly if you disable it - Fix my silly syntax errors * Update text & use Sentry consent --------- Co-authored-by: Luke Street <luke@street.dev>
18 lines
258 B
C++
18 lines
258 B
C++
#pragma once
|
|
|
|
namespace dusk::crash_reporting {
|
|
|
|
enum class Consent {
|
|
Unavailable,
|
|
Unknown,
|
|
Given,
|
|
Revoked,
|
|
};
|
|
|
|
void initialize();
|
|
void shutdown();
|
|
Consent get_consent();
|
|
void set_consent(bool enabled);
|
|
|
|
} // namespace dusk::crash_reporting
|