You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- got rid of master/slave terminology - new JSON 500 config scheme - removed old CFG config scheme #jira UE-133179 #rb Alejandro.Arango, Patrick.Hardy #preflight 61bbb2ae372f4dbf43856a61 #ROBOMERGE-AUTHOR: andrey.yamashev #ROBOMERGE-SOURCE: CL 18489261 in //UE5/Release-5.0/... via CL 18489267 #ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669) [CL 18489272 by andrey yamashev in ue5-release-engine-test branch]
35 lines
829 B
C++
35 lines
829 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "DisplayClusterConfigurationVersion.h"
|
|
|
|
|
|
/**
|
|
* Version checker for nDisplay config files
|
|
*/
|
|
class FDisplayClusterConfigurationVersionChecker
|
|
{
|
|
public:
|
|
FDisplayClusterConfigurationVersionChecker() = default;
|
|
~FDisplayClusterConfigurationVersionChecker() = default;
|
|
|
|
public:
|
|
// Returns version of a specified config file
|
|
EDisplayClusterConfigurationVersion GetConfigVersion(const FString& FilePath) const;
|
|
|
|
protected:
|
|
// Helper function to deal with JSON files that might be of different version
|
|
EDisplayClusterConfigurationVersion GetConfigVersionJson(const FString& FilePath) const;
|
|
|
|
protected:
|
|
enum class EConfigFileType
|
|
{
|
|
Unknown,
|
|
Json
|
|
};
|
|
|
|
EConfigFileType GetConfigFileType(const FString& InConfigPath) const;
|
|
};
|