Files
UnrealEngineUWP/Engine/Source/Developer/SlateReflector/Public/ISlateReflectorModule.h
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -05:00

48 lines
1.2 KiB
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Modules/ModuleInterface.h"
class FWorkspaceItem;
/**
* Interface for messaging modules.
*/
class ISlateReflectorModule
: public IModuleInterface
{
public:
/**
* Display the widget reflector, either spawned from a tab manager, or in a new window if the tab manager can't be used
*/
virtual void DisplayWidgetReflector() = 0;
/**
* Display the texture atlas visualizer, either spawned from a tab manager, or in a new window if the tab manager can't be used
*/
virtual void DisplayTextureAtlasVisualizer() = 0;
/**
* Display the texture atlas visualizer, either spawned from a tab manager, or in a new window if the tab manager can't be used
*/
virtual void DisplayFontAtlasVisualizer() = 0;
/**
* Registers a tab spawner for the widget reflector.
*
* @param WorkspaceGroup The workspace group to insert the tab into.
*/
virtual void RegisterTabSpawner( const TSharedPtr<FWorkspaceItem>& WorkspaceGroup ) = 0;
/** Unregisters the tab spawner for the widget reflector. */
virtual void UnregisterTabSpawner() = 0;
public:
/** Virtual destructor. */
virtual ~ISlateReflectorModule() { }
};