Files
UnrealEngineUWP/Engine/Source/Developer/GameplayDebugger/Private/Editor/GameplayDebuggerToolkit.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

39 lines
1.0 KiB
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#if WITH_EDITOR
#include "Layout/Visibility.h"
#include "Input/Reply.h"
#include "Widgets/SWidget.h"
#include "Toolkits/IToolkitHost.h"
#include "Toolkits/BaseToolkit.h"
class FGameplayDebuggerToolkit : public FModeToolkit
{
public:
FGameplayDebuggerToolkit(class FEdMode* InOwningMode);
// IToolkit interface
virtual FText GetBaseToolkitName() const override;
virtual FName GetToolkitFName() const override;
virtual class FEdMode* GetEditorMode() const override { return DebuggerEdMode; }
virtual TSharedPtr<class SWidget> GetInlineContent() const override { return MyWidget; }
// End of IToolkit interface
// FModeToolkit interface
virtual void Init(const TSharedPtr<class IToolkitHost>& InitToolkitHost) override;
// End of FModeToolkit interface
private:
class FEdMode* DebuggerEdMode;
TSharedPtr<class SWidget> MyWidget;
EVisibility GetScreenMessageWarningVisibility() const;
FReply OnClickedDisableTool();
};
#endif // WITH_EDITOR