Files
UnrealEngineUWP/Engine/Source/Editor/CurveTableEditor/Private/CurveTableEditorModule.cpp
Ben Marsh 149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00

33 lines
978 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "CurveTableEditorPrivatePCH.h"
#include "ModuleManager.h"
#include "CurveTableEditor.h"
#include "Toolkits/ToolkitManager.h"
#include "Engine/CurveTable.h"
IMPLEMENT_MODULE( FCurveTableEditorModule, CurveTableEditor );
const FName FCurveTableEditorModule::CurveTableEditorAppIdentifier( TEXT( "CurveTableEditorApp" ) );
void FCurveTableEditorModule::StartupModule()
{
MenuExtensibilityManager = MakeShareable(new FExtensibilityManager);
}
void FCurveTableEditorModule::ShutdownModule()
{
MenuExtensibilityManager.Reset();
}
TSharedRef<ICurveTableEditor> FCurveTableEditorModule::CreateCurveTableEditor( const EToolkitMode::Type Mode, const TSharedPtr< IToolkitHost >& InitToolkitHost, UCurveTable* Table )
{
TSharedRef< FCurveTableEditor > NewCurveTableEditor( new FCurveTableEditor() );
NewCurveTableEditor->InitCurveTableEditor( Mode, InitToolkitHost, Table );
return NewCurveTableEditor;
}