Files
UnrealEngineUWP/Engine/Source/Editor/ConfigEditor/Public/IConfigEditorModule.h
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -05:00

33 lines
1.2 KiB
C++

// Copyright 1998-2019 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;
};