You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Move bIsDefault/bCanEdit(renamed bIsModifiable) from InterfaceRegistryEntry to Interface data definition - Add checks in builder to disallow mutation of interfaces that shouldn't be via editor or document builder (ex. SourceInterface which is default and then never changed) - Optimize SearchEngine query for finding default interfaces - Tweak MetaSoundUObjectRegistry to support non MetasoundAssetBase classes and add UMetaSoundBuilderDocument. Update iterator w/optional param to only return asset types (true by default for back compat) - Move FName class name comparitors to use new TopLevelAssetPath #rb phil.popp #jira UE-181360 #rnx #p4v-preflight-copy 24658328 #preflight 642b10834d26bcd1eb0e566c [CL 24920763 by rob gay in ue5-main branch]
32 lines
1.2 KiB
C++
32 lines
1.2 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "IAudioParameterInterfaceRegistry.h"
|
|
#include "Interfaces/MetasoundFrontendInterfaceRegistry.h"
|
|
#include "MetasoundFrontendDocument.h"
|
|
#include "MetasoundFrontendTransform.h"
|
|
|
|
|
|
namespace Metasound::Engine
|
|
{
|
|
// Entry for registered interface.
|
|
class FInterfaceRegistryEntry : public Frontend::IInterfaceRegistryEntry
|
|
{
|
|
public:
|
|
FInterfaceRegistryEntry(FMetasoundFrontendInterface&& InInterface, FName InRouterName = IDataReference::RouterName);
|
|
FInterfaceRegistryEntry(const FMetasoundFrontendInterface& InInterface, FName InRouterName = IDataReference::RouterName);
|
|
FInterfaceRegistryEntry(const FMetasoundFrontendInterface& InInterface, TUniquePtr<Frontend::IDocumentTransform>&& InUpdateTransform, FName InRouterName = IDataReference::RouterName);
|
|
|
|
virtual FName GetRouterName() const override;
|
|
virtual const FMetasoundFrontendInterface& GetInterface() const override;
|
|
virtual bool UpdateRootGraphInterface(Frontend::FDocumentHandle InDocument) const override;
|
|
|
|
private:
|
|
FMetasoundFrontendInterface Interface;
|
|
TUniquePtr<Frontend::IDocumentTransform> UpdateTransform;
|
|
FName RouterName;
|
|
};
|
|
|
|
void RegisterInterfaces();
|
|
} // namespace Metasound::Engine
|