2014-12-07 19:09:38 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
#include "CrashDebugHelperPrivatePCH.h"
|
|
|
|
|
#include "ModuleInterface.h"
|
|
|
|
|
#include "ModuleManager.h"
|
|
|
|
|
#include "CrashDebugHelperModule.h"
|
|
|
|
|
|
|
|
|
|
IMPLEMENT_MODULE(FCrashDebugHelperModule, CrashDebugHelper);
|
|
|
|
|
DEFINE_LOG_CATEGORY(LogCrashDebugHelper);
|
|
|
|
|
|
|
|
|
|
void FCrashDebugHelperModule::StartupModule()
|
|
|
|
|
{
|
|
|
|
|
CrashDebugHelper = new FCrashDebugHelper();
|
|
|
|
|
if (CrashDebugHelper != NULL)
|
|
|
|
|
{
|
|
|
|
|
CrashDebugHelper->Init();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void FCrashDebugHelperModule::ShutdownModule()
|
|
|
|
|
{
|
|
|
|
|
if (CrashDebugHelper != NULL)
|
|
|
|
|
{
|
|
|
|
|
delete CrashDebugHelper;
|
|
|
|
|
CrashDebugHelper = NULL;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ICrashDebugHelper* FCrashDebugHelperModule::Get()
|
|
|
|
|
{
|
|
|
|
|
return CrashDebugHelper;
|
|
|
|
|
}
|