2020-12-03 14:26:45 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
#include "Modules/ModuleInterface.h"
|
|
|
|
|
|
|
|
|
|
|
2022-06-27 12:03:09 -04:00
|
|
|
namespace UE::PropertyViewer
|
|
|
|
|
{
|
|
|
|
|
class FPropertyValueFactory;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2020-12-03 14:26:45 -04:00
|
|
|
/**
|
|
|
|
|
* Advanced Widgets module
|
|
|
|
|
*/
|
|
|
|
|
class ADVANCEDWIDGETS_API FAdvancedWidgetsModule : public IModuleInterface
|
|
|
|
|
{
|
|
|
|
|
public:
|
2022-06-27 12:03:09 -04:00
|
|
|
static FAdvancedWidgetsModule& GetModule();
|
|
|
|
|
static FAdvancedWidgetsModule* GetModulePtr();
|
2020-12-03 14:26:45 -04:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Called right after the plugin DLL has been loaded and the plugin object has been created
|
|
|
|
|
*/
|
|
|
|
|
virtual void StartupModule();
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Called before the plugin is unloaded, right before the plugin object is destroyed.
|
|
|
|
|
*/
|
|
|
|
|
virtual void ShutdownModule();
|
|
|
|
|
|
2022-06-27 12:03:09 -04:00
|
|
|
public:
|
|
|
|
|
UE::PropertyViewer::FPropertyValueFactory& GetPropertyValueFactory() const;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
TUniquePtr<UE::PropertyViewer::FPropertyValueFactory> PropertyValueFactory;
|
2020-12-03 14:26:45 -04:00
|
|
|
};
|