Files
UnrealEngineUWP/Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Private/MetasoundFrontendDocumentVersioning.h
helen yang 98d0bb918d Clear object literals when connecting MetaSound nodes to prevent hidden asset references
#jira UE-182177
#rb rob.gay
#preflight 645170876538e45f7565824a

[CL 25308044 by helen yang in ue5-main branch]
2023-05-02 17:00:45 -04:00

33 lines
781 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/UnrealString.h"
#include "MetasoundFrontendController.h"
#include "MetasoundFrontendTransform.h"
#include "MetasoundFrontendDocument.h"
#include "UObject/NameTypes.h"
namespace Metasound
{
namespace Frontend
{
/** Base class for versioning a document. */
class METASOUNDFRONTEND_API FVersionDocument : public IDocumentTransform
{
const FName Name;
const FString& Path;
public:
static FMetasoundFrontendVersionNumber GetMaxVersion()
{
return FMetasoundFrontendVersionNumber { 1, 11 };
}
FVersionDocument(FName InName, const FString& InPath);
bool Transform(FDocumentHandle InDocument) const override;
};
} // namespace Frontend
} // namespace Metasound