You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
35 lines
916 B
C++
35 lines
916 B
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
/*=============================================================================
|
|
SettingsEditorModule.cpp: Implements the FSettingsEditorModule class.
|
|
=============================================================================*/
|
|
|
|
#include "SettingsEditorPrivatePCH.h"
|
|
|
|
|
|
/**
|
|
* Implements the SettingsEditor module.
|
|
*/
|
|
class FSettingsEditorModule
|
|
: public ISettingsEditorModule
|
|
{
|
|
public:
|
|
|
|
// Begin 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));
|
|
}
|
|
|
|
// End ISettingsEditorModule interface
|
|
};
|
|
|
|
|
|
IMPLEMENT_MODULE(FSettingsEditorModule, SettingsEditor);
|