31 lines
795 B
C++
31 lines
795 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "SGraphPin.h"
|
|
#include "SLiveLinkSubjectRepresentationPicker.h"
|
|
|
|
|
|
struct FLiveLinkSubjectRepresentation;
|
|
|
|
class SComboButton;
|
|
|
|
class SLiveLinkSubjectRepresentationGraphPin : public SGraphPin
|
|
{
|
|
public:
|
|
SLATE_BEGIN_ARGS(SLiveLinkSubjectRepresentationGraphPin) {}
|
|
SLATE_END_ARGS()
|
|
|
|
void Construct(const FArguments& InArgs, UEdGraphPin* InGraphPinObj);
|
|
|
|
//~ Begin SGraphPin Interface
|
|
virtual TSharedRef<SWidget> GetDefaultValueWidget() override;
|
|
//~ End SGraphPin Interface
|
|
|
|
private:
|
|
SLiveLinkSubjectRepresentationPicker::FLiveLinkSourceSubjectRole GetValue() const;
|
|
void SetValue(SLiveLinkSubjectRepresentationPicker::FLiveLinkSourceSubjectRole NewValue);
|
|
|
|
FLiveLinkSubjectRepresentation SubjectRepresentation;
|
|
};
|