Files
UnrealEngine/Engine/Source/Editor/SceneOutliner/Public/SceneOutlinerHelpers.h
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

34 lines
1.3 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "SceneOutlinerPublicTypes.h"
#define UE_API SCENEOUTLINER_API
namespace SceneOutliner
{
// Class to hold common functionality needed by the Outliner and helpful to modules creating Outliner instances
class FSceneOutlinerHelpers
{
public:
UE_DEPRECATED(5.5, "FSceneOutlinerHelpers::GetExternalPackageName has been deprecated implement/use ISceneOutlinerTreeItem::GetPackageName instead")
static UE_API FString GetExternalPackageName(const ISceneOutlinerTreeItem& TreeItem);
UE_DEPRECATED(5.5, "FSceneOutlinerHelpers::GetExternalPackage has been deprecated implement/use ISceneOutlinerTreeItem::GetPackageName instead")
static UE_API UPackage* GetExternalPackage(const ISceneOutlinerTreeItem& TreeItem);
static UE_API TSharedPtr<SWidget> GetClassHyperlink(UObject* InObject);
static UE_API void PopulateExtraSearchStrings(const ISceneOutlinerTreeItem& TreeItem, TArray< FString >& OutSearchStrings);
static UE_API bool ValidateFolderName(const FFolder& InFolder, UWorld* World, const FText& InLabel, FText& OutErrorMessage);
static UE_API void RenameFolder(const FFolder& InFolder, const FText& NewFolderName, UWorld* World);
static UE_API bool IsFolderCurrent(const FFolder& InFolder, UWorld* World);
};
};
#undef UE_API