Files
UnrealEngineUWP/Engine/Source/Developer/Localization/Public/LocalizationModule.h
Ben Marsh 7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00

26 lines
756 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Modules/ModuleInterface.h"
#include "Modules/ModuleManager.h"
class ULocalizationTarget;
class ILocalizationModule : public IModuleInterface
{
public:
/**
* Given a config file, generate a compiled LocRes file for the active culture and use it to update the live-entries in the localization manager.
*/
virtual bool HandleRegenLocCommand(const FString& InConfigFilePath, const bool bSkipSourceCheck) = 0;
virtual ULocalizationTarget* GetLocalizationTargetByName(FString TargetName, bool bIsEngineTarget) = 0;
static ILocalizationModule& Get()
{
return FModuleManager::LoadModuleChecked<ILocalizationModule>("Localization");
}
};