VRTowerDef/Plugins/MetaXR/Source/OculusXRHMD/Private/OculusXRSyntheticEnvironmen...

32 lines
787 B
C
Raw Normal View History

2024-05-29 08:53:41 +00:00
// @lint-ignore-every LICENSELINT
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#if PLATFORM_WINDOWS
DEFINE_LOG_CATEGORY_STATIC(LogMetaXRSES, Log, All);
struct FProcHandle;
/** */
class FMetaXRSES
{
public:
static void LaunchEnvironment(FString EnvironmentName);
static void StopServer();
private:
static void LaunchLocalSharingServer();
static bool LaunchProcess(FString BinaryPath, FString Arguments, FString LogContext, FProcHandle& OutProcHandle);
static void StopProcess(FProcHandle& ProcHandle, FString LogContext);
static FString GetMetaXRSimPackagePath();
static FString GetSynthEnvServerPath();
static FString GetLocalSharingServerPath();
static FProcHandle EnvProcHandle;
static FProcHandle LSSProcHandle;
};
#endif