mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-02 12:49:13 +01:00
pch migration to modules [wip]
This commit is contained in:
20
utilities/crashreporter.cppm
Normal file
20
utilities/crashreporter.cppm
Normal file
@@ -0,0 +1,20 @@
|
||||
module;
|
||||
#include "utilities/crashreporter_macros.h"
|
||||
#include <string>
|
||||
|
||||
export module eu07.utilities.crashreporter;
|
||||
|
||||
export {
|
||||
|
||||
|
||||
#ifdef WITH_CRASHPAD
|
||||
void crashreport_add_info(const char *name, const std::string &value);
|
||||
const std::string& crashreport_get_provider();
|
||||
void crashreport_set_autoupload();
|
||||
bool crashreport_is_pending();
|
||||
void crashreport_upload_reject();
|
||||
void crashreport_upload_accept();
|
||||
#else
|
||||
#endif
|
||||
|
||||
} // export
|
||||
Reference in New Issue
Block a user