You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
* Moved Slate.h into SlateBasics.h and began shifting less commonly used headers into SlateExtras.h. * Slate.h now simply includes SlateBasics.h and SlateExtras.h. * Slate.h includes a deprecated warning now to indicate that SlateBasics.h + specific includes should be used instead. * Moved dozens of inlined functions using Slate widgets into .cpp files to avoid header dependencies. * All code samples now include SlateBasics.h and SlateExtras.h so future shifts will not break most those projects, but not trigger the deprecation warning of including Slate.h. #BUN [CL 2329610 by Wes Hunt in Main branch]
30 lines
666 B
C++
30 lines
666 B
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "SettingsEditorPrivatePCH.h"
|
|
#include "SSettingsEditor.h"
|
|
|
|
|
|
/**
|
|
* Implements the SettingsEditor module.
|
|
*/
|
|
class FSettingsEditorModule
|
|
: public ISettingsEditorModule
|
|
{
|
|
public:
|
|
|
|
// ISettingsEditorModule interface
|
|
|
|
virtual TSharedRef<SWidget> CreateEditor( const ISettingsEditorModelRef& Model ) override
|
|
{
|
|
return SNew(SSettingsEditor, Model);
|
|
}
|
|
|
|
virtual ISettingsEditorModelRef CreateModel( const ISettingsContainerRef& SettingsContainer ) override
|
|
{
|
|
return MakeShareable(new FSettingsEditorModel(SettingsContainer));
|
|
}
|
|
};
|
|
|
|
|
|
IMPLEMENT_MODULE(FSettingsEditorModule, SettingsEditor);
|