Files
UnrealEngineUWP/Engine/Source/Developer/Localization/Public/LocalizationModule.h
ben marsh 2b46ba7b94 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 4662404 in //UE4/Main/...
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 4662413 by ben marsh in Dev-Networking branch]
2018-12-14 13:44:01 -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");
}
};