Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCodingServer/Private/LiveCodingServer.h
Ben Marsh 0b8abb31d2 Live Coding: Fixes issue linking patch DLLs with Visual Studio Express, due to PATH environment variable not including path to mspdb140.dll.
Now stores the linker environment block in the live coding manifest, and adds it to the cache before executing the linker.

#rb none
#jira UE-72324

[CL 5740602 by Ben Marsh in 4.22 branch]
2019-04-04 11:55:49 -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;