31 lines
797 B
C++
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;
|
|
};
|