Files
UnrealEngineUWP/Engine/Source/Editor/ConfigEditor/Public/IConfigEditorModule.h
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

33 lines
1.2 KiB
C++

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Widgets/SWidget.h"
#include "Modules/ModuleInterface.h"
/*-----------------------------------------------------------------------------
IConfigEditorModule
-----------------------------------------------------------------------------*/
class IConfigEditorModule : public IModuleInterface
{
public:
/**
* Creates a config hierarchy editor for the given property
*/
virtual void CreateHierarchyEditor(UProperty* EditProperty) = 0;
/**
* Maintain a reference to a value widget used in the config editor for the current property.
*/
virtual void AddExternalPropertyValueWidgetAndConfigPairing(const FString& ConfigFile, const TSharedPtr<SWidget> ValueWidget) = 0;
/**
* Access a reference to a value widget used in the config editor for the current property.
*
* @return - A widget which represents the config value for a specific property. This is a different widget based on the property type
* ie. a combobox for enum, a check box for bool...
*/
virtual TSharedRef<SWidget> GetValueWidgetForConfigProperty(const FString& ConfigFile) = 0;
};