Files
UnrealEngineUWP/Engine/Source/Editor/Sequencer/Public/ISectionLayoutBuilder.h
ryan durand 627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00

48 lines
1.2 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
class IKeyArea;
struct FMovieSceneChannelHandle;
/**
* Builds an inner layout for a section
*/
class ISectionLayoutBuilder
{
public:
virtual ~ISectionLayoutBuilder() { }
/**
* Pushes a new category onto the layout. If there is a current category, this category will appear as a child of the current category
*
* @param CategoryName The name of the category
* @param DisplayLabel The localized display label for the category
*/
virtual void PushCategory( FName CategoryName, const FText& DisplayLabel ) = 0;
/**
* Sets the section as a key area itself
* @param Channel The channel that is to be assigned as the top level channel for this section
*/
virtual void SetTopLevelChannel( const FMovieSceneChannelHandle& Channel ) = 0;
/**
* Adds a channel onto the layout. If a category is pushed, the key area will appear as a child of the current category
*
* @param Channel A handle to the channel to be added to the layout
*/
virtual void AddChannel( const FMovieSceneChannelHandle& Channel ) = 0;
/**
* Pops a category off the stack
*/
virtual void PopCategory() = 0;
};