Clearing up plugin issues

This commit is contained in:
2025-09-05 15:58:28 +03:00
parent 0b65461e3b
commit 3fe0c90dfb
136 changed files with 15080 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
/*
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 <Factories/Factory.h>
#include <UObject/Object.h>
#include "NDIMediaReceiverFactory.generated.h"
/**
Factory Class used to create assets via content browser for NDI Receiver objects
*/
UCLASS()
class NDIIOEDITOR_API UNDIMediaReceiverFactory : public UFactory
{
GENERATED_UCLASS_BODY()
public:
virtual FText GetDisplayName() const override;
virtual uint32 GetMenuCategories() const override;
virtual bool ShouldShowInNewMenu() const override { return true; }
virtual UObject* FactoryCreateNew(UClass* InClass, UObject* InParent, FName InName, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) override;
};

View File

@@ -0,0 +1,29 @@
/*
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 <Factories/Factory.h>
#include <UObject/Object.h>
#include "NDIMediaSenderFactory.generated.h"
/**
Factory Class used to create assets via content browser for NDI Sender objects
*/
UCLASS()
class NDIIOEDITOR_API UNDIMediaSenderFactory : public UFactory
{
GENERATED_UCLASS_BODY()
public:
virtual FText GetDisplayName() const override;
virtual uint32 GetMenuCategories() const override;
virtual UObject* FactoryCreateNew(UClass* InClass, UObject* InParent, FName InName, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) override;
};

View File

@@ -0,0 +1,29 @@
/*
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 <Factories/Factory.h>
#include <UObject/Object.h>
#include "NDIMediaSoundWaveFactory.generated.h"
/**
Factory Class used to create assets via content browser for NDI Sound Wave objects
*/
UCLASS()
class NDIIOEDITOR_API UNDIMediaSoundWaveFactory : public UFactory
{
GENERATED_UCLASS_BODY()
public:
virtual FText GetDisplayName() const override;
virtual uint32 GetMenuCategories() const override;
virtual UObject* FactoryCreateNew(UClass* InClass, UObject* InParent, FName InName, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) override;
};

View File

@@ -0,0 +1,29 @@
/*
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 <Factories/Factory.h>
#include <UObject/Object.h>
#include "NDIMediaTexture2DFactory.generated.h"
/**
Factory Class used to create assets via content browser for NDI Texture2D objects
*/
UCLASS()
class NDIIOEDITOR_API UNDIMediaTexture2DFactory : public UFactory
{
GENERATED_UCLASS_BODY()
public:
virtual FText GetDisplayName() const override;
virtual uint32 GetMenuCategories() const override;
virtual UObject* FactoryCreateNew(UClass* InClass, UObject* InParent, FName InName, EObjectFlags Flags, UObject* Context, FFeedbackContext* Warn) override;
};

View File

@@ -0,0 +1,12 @@
/*
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>
#define NDIIO_EDITOR_MODULE_NAME FName(TEXT("NDIIOEditor"))

View File

@@ -0,0 +1,25 @@
/*
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 <Modules/ModuleManager.h>
#include <Styling/SlateStyle.h>
class NDIIOEDITOR_API FNDIIOEditorModule : public IModuleInterface
{
public:
virtual void StartupModule() override;
virtual void ShutdownModule() override;
private:
TUniquePtr<FSlateStyleSet> StyleInstance;
};
IMPLEMENT_MODULE(FNDIIOEditorModule, NDIIOEditor)

View File

@@ -0,0 +1,29 @@
/*
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:
};