You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Also removed some unreferenced functions that adding 'override' revealed PR #1002 -- Thank you, Omar007! [CL 2498415 by Mike Fricker in Main branch]
42 lines
1.5 KiB
C++
42 lines
1.5 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "ModuleInterface.h"
|
|
#include "Toolkits/IToolkit.h" // For EAssetEditorMode
|
|
#include "Toolkits/AssetEditorToolkit.h" // For FExtensibilityManager
|
|
//#include "ITranslationEditor.h"
|
|
|
|
class FTranslationEditor;
|
|
|
|
class FTranslationEditorModule : public IModuleInterface,
|
|
public IHasMenuExtensibility
|
|
{
|
|
|
|
public:
|
|
// IModuleInterface
|
|
virtual void StartupModule() override;
|
|
virtual void ShutdownModule() override;
|
|
|
|
/**
|
|
* Creates an instance of translation editor object. Only virtual so that it can be called across the DLL boundary.
|
|
*
|
|
* @param ProjectName Name of the project to translate
|
|
* @param TranslationTargetLanguage Language to translate to
|
|
*
|
|
* @return Interface to the new translation editor
|
|
*/
|
|
virtual TSharedRef<FTranslationEditor> CreateTranslationEditor( const FString& ManifestFile, const FString& ArchiveFile );
|
|
|
|
/** Gets the extensibility managers for outside entities to extend translation editor's menus and toolbars */
|
|
virtual TSharedPtr<FExtensibilityManager> GetMenuExtensibilityManager() override { return MenuExtensibilityManager; }
|
|
virtual TSharedPtr<FExtensibilityManager> GetToolbarExtensibilityManager() { return ToolbarExtensibilityManager; }
|
|
|
|
/** Translation Editor app identifier string */
|
|
static const FName TranslationEditorAppIdentifier;
|
|
|
|
private:
|
|
TSharedPtr<FExtensibilityManager> MenuExtensibilityManager;
|
|
TSharedPtr<FExtensibilityManager> ToolbarExtensibilityManager;
|
|
};
|