Files
UnrealEngineUWP/Engine/Source/Developer/LocalizationService/Public/ILocalizationServiceOperation.h
ryan durand 471d972e62 Updating copyright for Engine Developer.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869240 via CL 10869516 via CL 10869902
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870584 by ryan durand in Main branch]
2019-12-26 15:32:37 -05:00

33 lines
831 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
class ILocalizationServiceOperation : public TSharedFromThis<ILocalizationServiceOperation, ESPMode::ThreadSafe>
{
public:
/**
* Virtual destructor
*/
virtual ~ILocalizationServiceOperation() {}
/** Get the name of this operation, used as a unique identifier */
virtual FName GetName() const = 0;
/** Get the string to display when this operation is in progress */
virtual FText GetInProgressString() const
{
return FText();
}
/** Factory method for easier operation creation */
template<typename Type>
static TSharedRef<Type, ESPMode::ThreadSafe> Create()
{
return MakeShareable( new Type() );
}
};
typedef TSharedRef<class ILocalizationServiceOperation, ESPMode::ThreadSafe> FLocalizationServiceOperationRef;