Files
UnrealEngineUWP/Engine/Source/Developer/SlateReflector/Public/ISlateReflectorModule.h
Chris Gagnon 8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -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() { }
};