Files
UnrealEngineUWP/Engine/Plugins/ScriptPlugin/Source/ScriptEditorPlugin/Private/ScriptBlueprintEditor.h
ben marsh 2b46ba7b94 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: ben.marsh
#ROBOMERGE-SOURCE: CL 4662404 in //UE4/Main/...
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 4662413 by ben marsh in Dev-Networking branch]
2018-12-14 13:44:01 -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;
};