// Copyright Epic Games, Inc. All Rights Reserved. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnrealBuildBase; namespace UnrealBuildTool { /// /// Information about a PCH instance /// class PrecompiledHeaderInstance { /// /// The file to include to use this shared PCH /// public FileItem HeaderFile; /// /// The compile environment for this shared PCH /// public CppCompileEnvironment CompileEnvironment; /// /// The output files for the shared PCH /// public CPPOutput Output; /// /// Constructor /// public PrecompiledHeaderInstance(FileItem HeaderFile, CppCompileEnvironment CompileEnvironment, CPPOutput Output) { this.HeaderFile = HeaderFile; this.CompileEnvironment = CompileEnvironment; this.Output = Output; } /// /// Return a string representation of this object for debugging /// /// String representation of the object public override string ToString() { return HeaderFile.Location.GetFileName(); } } }