Files
UnrealEngineUWP/Engine/Source/Developer/LocalizationService/Private/LocalizationServiceSettings.h
Thomas Sarkanen 8ba3c4c087 Merging //UE4/Dev-Main to Dev-Anim (//UE4/Dev-Anim) @ CL 4643671
#rb none
#jira none

[CL 4665410 by Thomas Sarkanen in Dev-Anim branch]
2018-12-17 06:31:16 -05:00

40 lines
895 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
class FLocalizationServiceSettings
{
public:
FLocalizationServiceSettings()
: bUseGlobalSettings(false)
{
}
/** Get the provider we want to use */
const FString& GetProvider() const;
/** Set the provider we want to use */
void SetProvider(const FString& InString);
/** Get whether we should use global or per-project settings */
bool GetUseGlobalSettings() const;
/** Set whether we should use global or per-project settings */
void SetUseGlobalSettings(bool bInUseGlobalSettings);
/** Load settings from ini file */
void LoadSettings();
/** Save settings to ini file */
void SaveSettings() const;
private:
/** The preferred Localization service provider */
FString Provider;
/** Whether we should use global or per-project settings */
bool bUseGlobalSettings;
};