You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
36 lines
901 B
C++
36 lines
901 B
C++
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#include "TraceToolsModule.h"
|
||
|
|
|
||
|
|
#include "Modules/ModuleManager.h"
|
||
|
|
#include "Misc/ConfigContext.h"
|
||
|
|
#include "TraceToolsStyle.h"
|
||
|
|
#include "Widgets/Docking/SDockTab.h"
|
||
|
|
|
||
|
|
// TraceTools
|
||
|
|
#include "Widgets/STraceControl.h"
|
||
|
|
|
||
|
|
IMPLEMENT_MODULE(FTraceToolsModule, TraceTools);
|
||
|
|
|
||
|
|
FString FTraceToolsModule::TraceFiltersIni;
|
||
|
|
|
||
|
|
void FTraceToolsModule::StartupModule()
|
||
|
|
{
|
||
|
|
LLM_SCOPE_BYNAME(TEXT("Insights/TraceTools"));
|
||
|
|
|
||
|
|
UE::TraceTools::FTraceToolsStyle::Initialize();
|
||
|
|
|
||
|
|
FConfigContext::ReadIntoGConfig().Load(TEXT("Trace"), TraceFiltersIni);
|
||
|
|
}
|
||
|
|
|
||
|
|
void FTraceToolsModule::ShutdownModule()
|
||
|
|
{
|
||
|
|
LLM_SCOPE_BYNAME(TEXT("Insights/TraceTools"));
|
||
|
|
|
||
|
|
UE::TraceTools::FTraceToolsStyle::Shutdown();
|
||
|
|
}
|
||
|
|
|
||
|
|
TSharedRef<SWidget> FTraceToolsModule::CreateTraceControlWidget(TSharedPtr<ITraceController> InTraceController)
|
||
|
|
{
|
||
|
|
return SNew(UE::TraceTools::STraceControl, InTraceController);
|
||
|
|
}
|