Files
UnrealEngineUWP/Engine/Source/Programs/AutomationTool/Turnkey/IOProvider.cs

27 lines
704 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Turnkey
{
abstract class IOProvider
{
public abstract void Log(string Message, bool bAppendNewLine);
public virtual void Report(string Message, bool bAppendNewLine)
{
Log(Message, bAppendNewLine);
}
public abstract void PauseForUser(string Message, bool bAppendNewLine);
public abstract string ReadInput(string Prompt, string DefaultValue, bool bAppendNewLine);
public abstract int ReadInputInt(string Prompt, List<string> Options, bool bIsCancellable, int DefaultValue, bool bAppendNewLine);
}
}