Rewrite the crash reporter code
This commit is contained in:
parent
c08a47c920
commit
096b92f1b4
22 changed files with 1305 additions and 2475 deletions
|
|
@ -10,9 +10,9 @@ class Scrollbar;
|
|||
class ErrorWindow : public Widget
|
||||
{
|
||||
public:
|
||||
static bool ExecModal(const std::string& text, const std::string& log);
|
||||
static bool ExecModal(const std::string& text, const std::string& log, std::vector<uint8_t> minidump = {});
|
||||
|
||||
ErrorWindow();
|
||||
ErrorWindow(std::vector<uint8_t> minidump);
|
||||
|
||||
bool Restart = false;
|
||||
|
||||
|
|
@ -25,11 +25,14 @@ private:
|
|||
|
||||
void OnClipboardButtonClicked();
|
||||
void OnRestartButtonClicked();
|
||||
void OnSaveReportButtonClicked();
|
||||
|
||||
LogViewer* LogView = nullptr;
|
||||
PushButton* ClipboardButton = nullptr;
|
||||
PushButton* RestartButton = nullptr;
|
||||
PushButton* SaveReportButton = nullptr;
|
||||
|
||||
std::vector<uint8_t> minidump;
|
||||
std::string clipboardtext;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue