Files
UnrealEngineUWP/Engine/Plugins/ScriptPlugin/Source/ScriptEditorPlugin/Private/ScriptBlueprintEditor.h
Ben Marsh 7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00

28 lines
974 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#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;
};