Files
UnrealEngineUWP/Engine/Source/Runtime/Toolbox/Public/ToolboxModule.h
2014-12-12 15:03:16 -05:00

29 lines
895 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ModuleInterface.h"
class FWorkspaceItem;
/**
* The toolbox module is a lightweight UI for quickly summoning
* development tools: profilers, widget inspector, etc.
*/
class IToolboxModule : public IModuleInterface
{
public:
/**
* Register spawners for tabs provided by IToolboxModule. Only the first call to this method has any effect.
* Subsequent calls will be ignored until the module is reloaded.
*
* @param DebugToolsTabCategory Optional menu category for the debug tools tab.
* @param ModulesTabCategory Optional menu category for the modules tab.
*/
virtual void RegisterSpawners(const TSharedPtr<FWorkspaceItem>& DebugToolsTabCategory, const TSharedPtr<FWorkspaceItem>& ModulesTabCategory) = 0;
/** Open the toolbox tab, */
virtual void SummonToolbox() = 0;
};