Files
UnrealEngine/Engine/Source/Editor/AddContentDialog/Private/ContentSourceProviderManager.h
2025-05-18 13:04:45 +08:00

24 lines
728 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/Array.h"
#include "Templates/SharedPointer.h"
class IContentSourceProvider;
/** Provides methods for registering and getting registered content source providers. */
class FContentSourceProviderManager
{
public:
/** Registers a content source provider. */
void RegisterContentSourceProvider(TSharedRef<IContentSourceProvider> ContentSourceProvider);
/** Gets and array of the currently registered content source providers. */
const TArray<TSharedRef<IContentSourceProvider>>* GetContentSourceProviders();
private:
/** The registered content source providers. */
TArray<TSharedRef<IContentSourceProvider>> ContentSourceProviders;
};