// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreTypes.h" #include "Widgets/DeclarativeSyntaxSupport.h" #include "Widgets/SCompoundWidget.h" class FExtender; struct FInsightsMajorTabConfig; namespace UE::Insights::TimingProfiler { /** Ribbon based toolbar used as a main menu in the Profiler window. */ class STimingProfilerToolbar : public SCompoundWidget { public: /** Default constructor. */ STimingProfilerToolbar(); /** Virtual destructor. */ virtual ~STimingProfilerToolbar(); SLATE_BEGIN_ARGS(STimingProfilerToolbar) {} SLATE_ARGUMENT(TSharedPtr, ToolbarExtender); SLATE_END_ARGS() /** * Construct this widget * * @param InArgs The declaration data for this widget */ void Construct(const FArguments& InArgs, const FInsightsMajorTabConfig& Config); }; } // namespace UE::Insights::TimingProfiler