// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "Templates/SharedPointer.h" class FName; class FText; class SWidget; class ISidebarDrawerContent : public TSharedFromThis { public: virtual ~ISidebarDrawerContent() {} /** Gets the unique Id used to identify the sidebar drawer. */ virtual FName GetUniqueId() const = 0; /** Gets the section unique Id used to identify the drawer section. */ virtual FName GetSectionId() const = 0; /** Gets the section text to display on the section button. */ virtual FText GetSectionDisplayText() const = 0; /** Returns true if this section should be displayed. */ virtual bool ShouldShowSection() const { return true; } /** Gets the section sort order. Lower values will be put at the above higher values. */ virtual int32 GetSortOrder() const { return 0; } /** Constructs the content widget for a sidebar drawer. */ virtual TSharedRef CreateContentWidget() = 0; };