Files
UnrealEngineUWP/Engine/Source/Developer/AutomationWindow/Public/Interfaces/IAutomationWindowModule.h
Matthew Griffin bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00

58 lines
1.4 KiB
C++

// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
class ISessionManager;
/** Delegate to call when the automation window module is shutdown. */
DECLARE_DELEGATE(FOnAutomationWindowModuleShutdown);
/**
* Automation Window module
*/
class IAutomationWindowModule
: public IModuleInterface
{
public:
/**
* Creates a Automation Window widget.
*
* @param AutomationController The automation controller to use.
* @param SessionManager The session manager to use.
* @return New Automation Test window widget
*/
virtual TSharedRef<class SWidget> CreateAutomationWindow( const IAutomationControllerManagerRef& AutomationController, const TSharedRef<ISessionManager>& SessionManager ) = 0;
/**
* Store a pointer to the AutomationWindowTab.
*
* @return a weak pointer to the automation tab.
*/
virtual TWeakPtr<class SDockTab> GetAutomationWindowTab() = 0;
/**
* Store a pointer to the AutomationWindowTab.
*
* @param AutomationWindowTab a weak pointer to the automation tab.
*/
virtual void SetAutomationWindowTab(TWeakPtr<class SDockTab> AutomationWindowTab) = 0;
public:
/**
* Gets a delegate that is invoked when the automation window module shuts down.
*
* @return The delegate.
*/
virtual FOnAutomationWindowModuleShutdown& OnShutdown( ) = 0;
protected:
/** Virtual destructor. */
~IAutomationWindowModule( ) { }
};