Files
UnrealEngineUWP/Engine/Source/Editor/ConfigEditor/Public/IConfigEditorModule.h
Terence Burns 14cb541a13 Config Editor added to UE4.
We now have the capacity to set a uproperty value anywhere in the config file hierarchy

Satisfies UEPLAT-429

The user can now use the 'ConfigHierarchyEditable' meta flag in their uproperties to present a butoon that allows the property to be edited in the config hierarchy, where applicable.
Target platform is configurable.

[CL 2521330 by Terence Burns in Main branch]
2015-04-22 13:40:06 -04:00

30 lines
1.1 KiB
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
/*-----------------------------------------------------------------------------
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;
};