You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #rb none #jira none #ROBOMERGE-OWNER: ryan.durand #ROBOMERGE-AUTHOR: ryan.durand #ROBOMERGE-SOURCE: CL 10869242 in //Fortnite/Release-12.00/... via CL 10869536 #ROBOMERGE-BOT: FORTNITE (Main -> Dev-EngineMerge) (v613-10869866) [CL 10870955 by Ryan Durand in Main branch]
63 lines
1.3 KiB
C#
63 lines
1.3 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
|
|
namespace Gauntlet
|
|
{
|
|
/// <summary>
|
|
/// Interface that represents an instance of an app running on a device
|
|
/// </summary>
|
|
public interface IAppInstance
|
|
{
|
|
/// <summary>
|
|
/// Returns true/false if the process has exited for any reason
|
|
/// </summary>
|
|
bool HasExited { get; }
|
|
|
|
/// <summary>
|
|
/// Current StdOut of the process
|
|
/// </summary>
|
|
string StdOut { get; }
|
|
|
|
/// <summary>
|
|
/// Exit code of the process.
|
|
/// </summary>
|
|
int ExitCode { get; }
|
|
|
|
/// <summary>
|
|
/// Returns true if the process exited due to Kill() being called
|
|
/// </summary>
|
|
bool WasKilled { get; }
|
|
|
|
/// <summary>
|
|
/// Path to commandline used to start the process
|
|
/// </summary>
|
|
string CommandLine { get; }
|
|
|
|
/// <summary>
|
|
/// Path to artifacts from the process
|
|
/// </summary>
|
|
string ArtifactPath { get; }
|
|
|
|
/// <summary>
|
|
/// Device that the app was run on
|
|
/// </summary>
|
|
ITargetDevice Device { get; }
|
|
|
|
/// <summary>
|
|
/// Kills the process if its running (no need to call WaitForExit)
|
|
/// </summary>
|
|
void Kill();
|
|
|
|
/// <summary>
|
|
/// Waits for the process to exit normally
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
int WaitForExit();
|
|
|
|
}
|
|
}
|