Files
UnrealEngineUWP/Engine/Source/Developer/SlateReflector/Private/SlateReflectorModule.h
Marc Audy a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00

31 lines
797 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Modules/ModuleManager.h"
#include "ISlateReflectorModule.h"
class FInputEventVisualizer;
class SWidgetReflector;
/**
* Implements the SlateReflector module.
*/
class FSlateReflectorModule : public ISlateReflectorModule
{
public:
/** Get this module */
static FSlateReflectorModule* GetModulePtr()
{
static const FName ModuleName = "SlateReflector";
return FModuleManager::GetModulePtr<FSlateReflectorModule>(ModuleName);
}
/** Get the current instance of the WidgetReflector */
virtual TSharedPtr<SWidgetReflector> GetWidgetReflectorInstance() = 0;
/** Get the current instance of the Input Event Visualizer */
virtual FInputEventVisualizer* GetInputEventVisualizer() = 0;
};