2022-07-21 12:35:25 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
#include "MVVMPropertyPath.h"
|
|
|
|
|
|
|
|
|
|
class UClass;
|
|
|
|
|
class UEdGraph;
|
|
|
|
|
class UMVVMBlueprintView;
|
2022-07-22 07:39:25 -04:00
|
|
|
class UWidgetBlueprint;
|
|
|
|
|
struct FMVVMBlueprintViewBinding;
|
2022-07-21 12:35:25 -04:00
|
|
|
|
|
|
|
|
namespace UE::MVVM::ConversionFunctionHelper
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/** Find all BlueprintPropertyPath used in the Graph. */
|
|
|
|
|
MODELVIEWVIEWMODELBLUEPRINT_API TArray<FMVVMBlueprintPropertyPath> FindAllPropertyPathInGraph(const UEdGraph* Graph, const UMVVMBlueprintView* View, UClass* Class);
|
|
|
|
|
|
2022-07-22 07:39:25 -04:00
|
|
|
/** Get the name of the conversion function wrapper if autogenerated. */
|
|
|
|
|
MODELVIEWVIEWMODELBLUEPRINT_API FName GetWrapperName(const UMVVMBlueprintView* View, const FMVVMBlueprintViewBinding& Binding, bool bSourceToDestination);
|
|
|
|
|
|
|
|
|
|
/** Get an existing conversion graph for the corresponding binding if it exist. */
|
|
|
|
|
MODELVIEWVIEWMODELBLUEPRINT_API UEdGraph* GetGraph(const UWidgetBlueprint* WidgetBlueprint, const FMVVMBlueprintViewBinding& Binding, bool bSourceToDestination);
|
|
|
|
|
|
2022-07-21 12:35:25 -04:00
|
|
|
} //namespace
|