Files
UnrealEngineUWP/Engine/Source/Developer/SessionFrontend/Public/ISessionFrontendModule.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

44 lines
982 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Modules/ModuleInterface.h"
#include "Widgets/SWidget.h"
class ISessionManager;
/**
* Interface for launcher UI modules.
*/
class ISessionFrontendModule
: public IModuleInterface
{
public:
/**
* Creates a session browser widget.
*
* @param SessionManager The session manager to use.
* @return The new session browser widget.
*/
virtual TSharedRef<SWidget> CreateSessionBrowser( const TSharedRef<ISessionManager>& SessionManager ) = 0;
/**
* Creates a session console widget.
*
* @param SessionManager The session manager to use.
*/
virtual TSharedRef<SWidget> CreateSessionConsole( const TSharedRef<ISessionManager>& SessionManager ) = 0;
/**
* Show the session frontend tab.
*/
virtual void InvokeSessionFrontend(FName SubTabToActivate = NAME_None) = 0;
public:
/** Virtual destructor. */
virtual ~ISessionFrontendModule() { }
};