Files
UnrealEngineUWP/Engine/Source/Developer/AutomationWindow/Public/Interfaces/IAutomationWindowModule.h
Max Preussner 67daf9ac6a SessionServices: Made public headers compilable individually
[CL 2387548 by Max Preussner in Main branch]
2014-12-12 17:38:18 -05:00

58 lines
1.4 KiB
C++

// Copyright 1998-2015 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( ) { }
};