Files
UnrealEngineUWP/Engine/Source/Editor/LevelAssetEditor/Public/LevelAssetEditorToolkit.h
brooke hubert a2b8817a57 Remove unnecessary nesting of module files for Level Asset Editor.
#rnx
#Jira none
#rb no code changes made

[CL 14278647 by brooke hubert in ue5-main branch]
2020-09-09 09:58:00 -04:00

34 lines
1.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Tools/BaseAssetToolkit.h"
#include "Delegates/IDelegateInstance.h"
class FLevelEditorToolsContextQueriesImpl;
class FLevelEditorContextTransactionImpl;
class SEditorViewport;
class FEditorViewportClient;
class UAssetEditor;
class UInteractiveToolsContext;
class FLevelEditorAssetToolkit : public FBaseAssetToolkit
{
public:
FLevelEditorAssetToolkit(UAssetEditor* InOwningAssetEditor, UInteractiveToolsContext* InContext);
virtual ~FLevelEditorAssetToolkit();
protected:
// Base Asset Toolkit overrides
virtual AssetEditorViewportFactoryFunction GetViewportDelegate() override;
virtual TSharedPtr<FEditorViewportClient> CreateEditorViewportClient() const override;
virtual void PostInitAssetEditor() override;
// End Base Asset Toolkit overrides
void AddInputBehaviorsForEditorClientViewport(TSharedPtr<FEditorViewportClient>& InViewportClient) const;
UInteractiveToolsContext* ToolsContext;
TSharedPtr<FLevelEditorToolsContextQueriesImpl> ToolsContextQueries;
TSharedPtr<FLevelEditorContextTransactionImpl> ToolsContextTransactions;
};