// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "UObject/Object.h" #include "DetailRowMenuContextPrivate.generated.h" class SDetailTableRowBase; /** The private context provides the slate widget. */ UCLASS() class UDetailRowMenuContextPrivate : public UObject { GENERATED_BODY() public: template TSharedPtr GetRowWidget() const { if (const TWeakPtr RowContextWeak = StaticCastWeakPtr(Row); RowContextWeak.IsValid()) { if (TSharedPtr RowContext = RowContextWeak.Pin()) { return RowContext; } } return nullptr; } public: TWeakPtr Row; };