Files
UnrealEngineUWP/Engine/Source/Developer/SlateReflector/Private/SlateReflectorModule.h

31 lines
797 B
C
Raw Normal View History

// 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;
};