24#ifndef __LLUF_CRASH_REPORTER_H__
25#define __LLUF_CRASH_REPORTER_H__
27#include <Safir/Utilities/Internal/VisibilityHelpers.h>
29#ifdef lluf_crash_reporter_EXPORTS
30# define LLUF_CRASH_REPORTER_API SAFIR_HELPER_DLL_EXPORT
32# define LLUF_CRASH_REPORTER_API SAFIR_HELPER_DLL_IMPORT
33# define SAFIR_LIBRARY_NAME "lluf_crash_reporter"
34# define SAFIR_NO_DEBUG_LIBRARY_SUFFIX
35# include <Safir/Utilities/Internal/AutoLink.h>
37#define LLUF_CRASH_REPORTER_LOCAL SAFIR_HELPER_DLL_LOCAL
63 typedef void (*DumpCallback)(
const char*
const dumpPath);
This namespace contains all the functionality and definitions of the SAFIR SDK.
Definition Backdoor.h:31
Definition CrashReporter.h:44
static void Start()
Initiate the crash reporting functionality.
static void Stop()
Unregister the crash reporting functionality and clean up resources.
static bool Dump()
Write a dump immediately.
static void RegisterCallback(const DumpCallback callback)
Register a callback that will be called when a dump has occurred.
#define LLUF_CRASH_REPORTER_API
Definition CrashReporter.h:32