Files
ryan durand 627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00

33 lines
1.1 KiB
C++

// Copyright 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(FProperty* 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;
};