Files
UnrealEngine/Engine/Source/Editor/CurveEditor/Public/ICurveEditorExtension.h
2025-05-18 13:04:45 +08:00

27 lines
666 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Templates/SharedPointer.h"
class FUICommandList;
class FExtender;
class ICurveEditorExtension
{
public:
virtual ~ICurveEditorExtension() {}
/**
* Allows the editors to bind commands.
*
* @param CommandBindings The existing command bindings to map to.
*/
virtual void BindCommands(TSharedRef<FUICommandList> CommandBindings) = 0;
/**
* Allows the editors to extend the toolbar.
*
* @param InCommandList The existing command bindings to map to.
*/
virtual TSharedPtr<FExtender> MakeToolbarExtender(const TSharedRef<FUICommandList>& InCommandList) { return nullptr; }
};