Files
UnrealEngineUWP/Engine/Plugins/ScriptPlugin/Source/ScriptEditorPlugin/Private/ScriptBlueprintEditor.h
Matthew Griffin bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00

27 lines
949 B
C++

// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Editor/Kismet/Public/BlueprintEditor.h"
/**
* Script blueprint editor (extends Blueprint editor)
*/
class FScriptBlueprintEditor : public FBlueprintEditor
{
public:
FScriptBlueprintEditor();
virtual ~FScriptBlueprintEditor();
/** Initializes script editor */
void InitScriptBlueprintEditor(const EToolkitMode::Type Mode, const TSharedPtr< IToolkitHost >& InitToolkitHost, const TArray<UBlueprint*>& InBlueprints, bool bShouldOpenInDefaultsMode);
/** Work around for the fact there's no other way to prevent Components Mode and Graph Mode from being entered/created */
virtual void AddApplicationMode(FName ModeName, TSharedRef<FApplicationMode> Mode) override;
/** @return The Script blueprint currently being edited in this editor */
class UScriptBlueprint* GetScriptBlueprintObj() const;
virtual UBlueprint* GetBlueprintObj() const override;
};