Files
bryan sefcik 0837230669 Ran IWYU again on half of the Engine/Source/Editor/... source files.
#jira

[CL 21716414 by bryan sefcik in ue5-main branch]
2022-08-30 23:03:03 -04:00

33 lines
704 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "EditorConfigBase.h"
#include "Editor.h"
#include "Editor/EditorEngine.h"
#include "EditorConfigSubsystem.h"
bool UEditorConfigBase::LoadEditorConfig()
{
if (GEditor)
{
UEditorConfigSubsystem* Subsystem = GEditor->GetEditorSubsystem<UEditorConfigSubsystem>();
if (Subsystem)
{
return Subsystem->LoadConfigObject(this->GetClass(), this);
}
}
return false;
}
bool UEditorConfigBase::SaveEditorConfig() const
{
if (GEditor)
{
UEditorConfigSubsystem* Subsystem = GEditor->GetEditorSubsystem<UEditorConfigSubsystem>();
if (Subsystem)
{
return Subsystem->SaveConfigObject(this->GetClass(), this);
}
}
return false;
}