Files
UnrealEngineUWP/Engine/Source/Programs/UnrealInsights/Private/UserInterfaceCommand.h
Marcus Wassmer 3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00

31 lines
632 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
class FUserInterfaceCommand
{
public:
/** Executes the command. */
static void Run();
protected:
/**
* Initializes the Slate application.
*/
static void InitializeSlateApplication(bool bOpenTraceFile, const TCHAR* TraceFile);
/**
* Shuts down the Slate application.
*/
static void ShutdownSlateApplication();
private:
/**
* Attempts to get a utrace file path from the command line.
* Returns true if a path was found and false otherwise.
*/
static bool GetTraceFileFromCmdLine(TCHAR* OutTraceFile, uint32 MaxPath);
};