// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "Styling/CoreStyle.h" #include "Framework/Commands/Commands.h" class FTabCommands : public TCommands < FTabCommands > { public: FTabCommands() : TCommands(TEXT("TabCommands"), NSLOCTEXT("TabCommands", "DockingTabCommands", "Docking Tab Commands"), NAME_None, FCoreStyle::Get().GetStyleSetName()) { } virtual ~FTabCommands() { } SLATE_API virtual void RegisterCommands() override; TSharedPtr CloseMajorTab; TSharedPtr CloseMinorTab; TSharedPtr CloseFocusedTab; };