2015-03-05 00:11:00 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2015-01-27 16:31:40 -05:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "ModuleInterface.h"
|
|
|
|
|
|
|
|
|
|
class ILocalizationServiceProvider;
|
2015-07-06 14:49:51 -04:00
|
|
|
class ULocalizationTarget;
|
2015-01-27 16:31:40 -05:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Interface for localization dashboard module.
|
|
|
|
|
*/
|
|
|
|
|
class ILocalizationDashboardModule
|
|
|
|
|
: public IModuleInterface
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
/** Virtual destructor. */
|
|
|
|
|
virtual ~ILocalizationDashboardModule() { }
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Shows the localization dashboard UI.
|
|
|
|
|
*/
|
|
|
|
|
virtual void Show() = 0;
|
|
|
|
|
|
|
|
|
|
virtual const TArray<ILocalizationServiceProvider*>& GetLocalizationServiceProviders() const = 0;
|
|
|
|
|
virtual ILocalizationServiceProvider* GetCurrentLocalizationServiceProvider() const = 0;
|
|
|
|
|
|
|
|
|
|
static ILocalizationDashboardModule& Get()
|
|
|
|
|
{
|
|
|
|
|
return FModuleManager::LoadModuleChecked<ILocalizationDashboardModule>("LocalizationDashboard");
|
|
|
|
|
}
|
|
|
|
|
};
|