Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCodingServer/Private/LiveCodingServer.h
Dan Oconnor 75fa0c83b8 Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework)
#rb none

[CL 5812824 by Dan Oconnor in Dev-Framework branch]
2019-04-09 16:29:40 -04:00

49 lines
1.7 KiB
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreTypes.h"
#include "ILiveCodingServer.h"
#include "LC_RunMode.h"
#include <string>
class ServerCommandThread;
class FLiveCodingServer final : public ILiveCodingServer
{
public:
FLiveCodingServer();
virtual ~FLiveCodingServer();
virtual void Start(const wchar_t* ProcessGroupName) override;
virtual void Stop() override;
virtual void SetLinkerPath(const wchar_t* LinkerPath, const TMap<FString, FString>& LinkerEnvironment) override;
// ILiveCodingServer implementation
virtual FBringToFrontDelegate& GetBringToFrontDelegate() override final;
virtual FClearOutputDelegate& GetClearOutputDelegate() override final;
virtual FStatusChangeDelegate& GetStatusChangeDelegate() override final;
virtual FLogOutputDelegate& GetLogOutputDelegate() override final;
virtual FCompileDelegate& GetCompileDelegate() override final;
virtual FCompileStartedDelegate& GetCompileStartedDelegate() override final;
virtual FCompileFinishedDelegate& GetCompileFinishedDelegate() override final;
virtual FShowConsoleDelegate& GetShowConsoleDelegate() override final;
virtual FSetVisibleDelegate& GetSetVisibleDelegate() override final;
private:
std::wstring ProcessGroupName;
ServerCommandThread* CommandThread;
FBringToFrontDelegate BringToFrontDelegate;
FClearOutputDelegate ClearOutputDelegate;
FStatusChangeDelegate StatusChangeDelegate;
FLogOutputDelegate LogOutputDelegate;
FCompileDelegate CompileDelegate;
FCompileStartedDelegate CompileStartedDelegate;
FCompileFinishedDelegate CompileFinishedDelegate;
FShowConsoleDelegate ShowConsoleDelegate;
FSetVisibleDelegate SetVisibleDelegate;
};
extern FLiveCodingServer *GLiveCodingServer;