You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- made public headers compilable individually
- moved interfaces to public root
- removed module singleton getter
- code and documentation cleanup
#UpgradeNotes:
- instead of ISettingsEditorModule::GetRef() use FModuleManager::GetModuleChecked<ISettingsModule>("SettingsModule")
- instead of including SettingsEditor.h include the interface headers you actually use
[CL 2340730 by Max Preussner in Main branch]
30 lines
690 B
C++
30 lines
690 B
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "SettingsEditorPrivatePCH.h"
|
|
#include "ISettingsEditorModule.h"
|
|
|
|
|
|
/**
|
|
* Implements the SettingsEditor module.
|
|
*/
|
|
class FSettingsEditorModule
|
|
: public ISettingsEditorModule
|
|
{
|
|
public:
|
|
|
|
// ISettingsEditorModule interface
|
|
|
|
virtual TSharedRef<SWidget> CreateEditor( const TSharedRef<ISettingsEditorModel>& Model ) override
|
|
{
|
|
return SNew(SSettingsEditor, Model);
|
|
}
|
|
|
|
virtual ISettingsEditorModelRef CreateModel( const TSharedRef<ISettingsContainer>& SettingsContainer ) override
|
|
{
|
|
return MakeShareable(new FSettingsEditorModel(SettingsContainer));
|
|
}
|
|
};
|
|
|
|
|
|
IMPLEMENT_MODULE(FSettingsEditorModule, SettingsEditor);
|