25 lines
492 B
C++
25 lines
492 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
|
/**
|
|
* Auxiliary class. Responsible for terminating application.
|
|
*/
|
|
class FDisplayClusterAppExit
|
|
{
|
|
public:
|
|
enum class EExitType
|
|
{
|
|
// Delicate UE exit, full resource cleaning.
|
|
Normal,
|
|
// Kills current process. No resource cleaning performed.
|
|
KillImmediately,
|
|
};
|
|
|
|
public:
|
|
static void ExitApplication(const FString& Msg, EExitType ExitType = FDisplayClusterAppExit::EExitType::Normal);
|
|
};
|