You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #rb none #ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904 #ROBOMERGE-BOT: (v613-10869866) [CL 10870586 by ryan durand in Main branch]
45 lines
1.4 KiB
C++
45 lines
1.4 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Toolkits/IToolkitHost.h"
|
|
#include "Toolkits/AssetEditorToolkit.h"
|
|
#include "ICurveAssetEditor.h"
|
|
#include "Modules/ModuleInterface.h"
|
|
|
|
class UCurveBase;
|
|
|
|
/** DataTable Editor module */
|
|
class FCurveAssetEditorModule : public IModuleInterface,
|
|
public IHasMenuExtensibility
|
|
{
|
|
|
|
public:
|
|
// IModuleInterface
|
|
virtual void StartupModule() override;
|
|
virtual void ShutdownModule() override;
|
|
|
|
/**
|
|
* Creates an instance of table editor object. Only virtual so that it can be called across the DLL boundary.
|
|
*
|
|
* @param Mode Mode that this editor should operate in
|
|
* @param InitToolkitHost When Mode is WorldCentric, this is the level editor instance to spawn this editor within
|
|
* @param CurveToEdit The Curve to start editing
|
|
*
|
|
* @return Interface to the new curve asset editor
|
|
*/
|
|
virtual TSharedRef<ICurveAssetEditor> CreateCurveAssetEditor( const EToolkitMode::Type Mode, const TSharedPtr< class IToolkitHost >& InitToolkitHost, UCurveBase* CurveToEdit );
|
|
|
|
/** Gets the extensibility managers for outside entities to extend curve asset editor's menus and toolbars */
|
|
virtual TSharedPtr<FExtensibilityManager> GetMenuExtensibilityManager() override {return MenuExtensibilityManager;}
|
|
|
|
/** Curve Asset Editor app identifier string */
|
|
static const FName CurveAssetEditorAppIdentifier;
|
|
|
|
private:
|
|
TSharedPtr<FExtensibilityManager> MenuExtensibilityManager;
|
|
};
|
|
|
|
|