2014-12-07 19:09:38 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2014-10-24 22:33:36 -04:00
|
|
|
#include "ModuleInterface.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// forward declarations
|
|
|
|
|
class ISessionManager;
|
|
|
|
|
class SWidget;
|
|
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Interface for launcher UI modules.
|
|
|
|
|
*/
|
|
|
|
|
class ISessionFrontendModule
|
|
|
|
|
: public IModuleInterface
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Creates a session browser widget.
|
|
|
|
|
*
|
2014-06-05 00:03:19 -04:00
|
|
|
* @param SessionManager The session manager to use.
|
2014-03-14 14:13:41 -04:00
|
|
|
* @return The new session browser widget.
|
|
|
|
|
*/
|
2014-10-24 22:33:36 -04:00
|
|
|
virtual TSharedRef<SWidget> CreateSessionBrowser( const TSharedRef<ISessionManager>& SessionManager ) = 0;
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Creates a session console widget.
|
|
|
|
|
*
|
2014-06-05 00:03:19 -04:00
|
|
|
* @param SessionManager The session manager to use.
|
2014-03-14 14:13:41 -04:00
|
|
|
*/
|
2014-10-24 22:33:36 -04:00
|
|
|
virtual TSharedRef<SWidget> CreateSessionConsole( const TSharedRef<ISessionManager>& SessionManager ) = 0;
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
2014-10-24 22:33:36 -04:00
|
|
|
/** Virtual destructor. */
|
|
|
|
|
virtual ~ISessionFrontendModule() { }
|
2014-03-14 14:13:41 -04:00
|
|
|
};
|