30 lines
1021 B
C
30 lines
1021 B
C
|
|
/*
|
||
|
|
Copyright (C) 2024 Vizrt NDI AB. All rights reserved.
|
||
|
|
|
||
|
|
This file and its use within a Product is bound by the terms of NDI SDK license that was provided
|
||
|
|
as part of the NDI SDK. For more information, please review the license and the NDI SDK documentation.
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <CoreMinimal.h>
|
||
|
|
|
||
|
|
#include <IPropertyTypeCustomization.h>
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
Customization of NDIConnectionInformation property
|
||
|
|
by including a menu to select from currently available NDI sources
|
||
|
|
*/
|
||
|
|
class FNDIConnectionInformationCustomization : public IPropertyTypeCustomization
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
static TSharedRef<IPropertyTypeCustomization> MakeInstance();
|
||
|
|
|
||
|
|
// IDetailCustomization interface
|
||
|
|
virtual void CustomizeHeader(TSharedRef<IPropertyHandle> PropertyHandle, FDetailWidgetRow& HeaderRow, IPropertyTypeCustomizationUtils& CustomizationUtils) override;
|
||
|
|
virtual void CustomizeChildren(TSharedRef<IPropertyHandle> PropertyHandle, IDetailChildrenBuilder& ChildBuilder, IPropertyTypeCustomizationUtils& CustomizationUtils) override;
|
||
|
|
|
||
|
|
private:
|
||
|
|
};
|