Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCodingServer/Private/External/LC_Compiler.h
Jack Porter 9d2ebe90d2 Merging //UE4/Dev-Main to Dev-Mobile (//UE4/Dev-Mobile)
#rb None
#jira 0

[CL 5396125 by Jack Porter in Dev-Mobile branch]
2019-03-14 00:59:16 -04:00

26 lines
800 B
C++

// Copyright 2011-2019 Molecular Matters GmbH, all rights reserved.
#pragma once
#include "CoreTypes.h"
namespace environment
{
struct Block;
}
namespace compiler
{
// creates a new entry in the cache for the given compiler .exe, and returns it
const environment::Block* CreateEnvironmentCacheEntry(const wchar_t* absolutePathToCompilerExe);
// gets the environment for a given compiler .exe from the cache.
// returns nullptr if the environment is not yet in the cache.
const environment::Block* GetEnvironmentFromCache(const wchar_t* absolutePathToCompilerExe);
// helper function that either creates a new entry in the cache if none exists yet,
// or returns the one found in the cache.
const environment::Block* UpdateEnvironmentCache(const wchar_t* absolutePathToCompilerExe);
}