Files
watrbx-game-engine/RobloxStudio/BreakpadCrashReporter.h
T
2025-09-18 17:55:52 -04:00

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;
};