Files
sebastian nordgren 292af9be14 Feature packs can now have multiple categories specified for them in the "Category" field of the manifest.json file.
Fixed several standards-breaking uses of auto and lots of const-incorrect code.

#rb paul.chipchase
#jira UE-139606
#preflight 61f2b405f50f352300cc6bee
#preflight 61f7f0ece55232619f85d472

#ROBOMERGE-AUTHOR: sebastian.nordgren
#ROBOMERGE-SOURCE: CL 18789263 in //UE5/Release-5.0/... via CL 18789286 via CL 18789396
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18789852 by sebastian nordgren in ue5-main branch]
2022-01-31 10:25:27 -05:00

23 lines
681 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "IContentSource.h"
/** Defines methods for an object which provides IContentSource objects for use with the SAddContentDialog. */
class IContentSourceProvider
{
public:
DECLARE_DELEGATE(FOnContentSourcesChanged);
public:
/** Gets the available content sources. */
virtual const TArray<TSharedRef<IContentSource>>& GetContentSources() const = 0;
/** Sets the delegate which will be executed when the avaialble content sources change */
virtual void SetContentSourcesChanged(FOnContentSourcesChanged OnContentSourcesChangedIn) = 0;
virtual ~IContentSourceProvider() { }
};