mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
30 lines
588 B
C++
30 lines
588 B
C++
//
|
|
// Crash.h
|
|
// RobloxStudio
|
|
//
|
|
// Created by agrawal on 11/16/11.
|
|
// Copyright 2011 Personal. All rights reserved.
|
|
//
|
|
|
|
#pragma once
|
|
typedef void *BreakpadRef;
|
|
|
|
class CrashReporter
|
|
{
|
|
|
|
public:
|
|
static void setupCrashReporter();
|
|
static void shutDownCrashReporter();
|
|
static void addBreakpadLog(const char* logfile);
|
|
static void addBreakpadKeyValue(const char* key, const char* value);
|
|
static void CreateLogDump();
|
|
|
|
|
|
|
|
private:
|
|
static void addDebugInfoToBreakpad();
|
|
static void initBreakpadCallback(BreakpadRef breakpad);
|
|
|
|
static BreakpadRef breakpad;
|
|
static char* context;
|
|
}; |