26 lines
640 B
C++
26 lines
640 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
//@todo this type shouldn't be public at all
|
|
class IApplicationElement;
|
|
|
|
/**
|
|
* Represents an object whose sole purpose is to discover one or more application elements
|
|
*/
|
|
class IElementLocator
|
|
{
|
|
public:
|
|
|
|
/**
|
|
* @return a string only to be used for debugging and logging purposes that represents this locator
|
|
*/
|
|
virtual FString ToDebugString() const = 0;
|
|
|
|
/**
|
|
* @return Attempts to locate a specific element or set of elements in the application
|
|
*/
|
|
virtual void Locate(TArray<TSharedRef<IApplicationElement>>& OutElements) const = 0;
|
|
};
|