You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Section Names for Windows/Mac/Linux/WindGDK will use the old names for compatibility. #jira UE-206488 #rb Brandon.Schaefer, Josh.Adams [CL 31522656 by florin pascu in ue5-main branch]
50 lines
1.1 KiB
C++
50 lines
1.1 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Modules/ModuleManager.h"
|
|
#include "Interfaces/ITargetPlatformModule.h"
|
|
#include "Common/TargetPlatformBase.h"
|
|
|
|
#define LOCTEXT_NAMESPACE "FLinuxTargetPlatformModule"
|
|
|
|
/**
|
|
* Module for the Linux target platform.
|
|
*/
|
|
class FLinuxTargetPlatformModule
|
|
: public ITargetPlatformModule
|
|
{
|
|
public:
|
|
virtual void GetTargetPlatforms(TArray<ITargetPlatform*>& TargetPlatforms)
|
|
{
|
|
|
|
}
|
|
|
|
virtual void GetTargetPlatforms(TArray<ITargetPlatform*>& TargetPlatforms, TArray<ITargetPlatformSettings*> TargetPlatformSettings, TArray<ITargetPlatformControls*> TargetPlatformControls) override
|
|
{
|
|
for (ITargetPlatformControls* TargetPlatformControlsIt : TargetPlatformControls)
|
|
{
|
|
TargetPlatforms.Add(new FTargetPlatformMerged(TargetPlatformControlsIt->GetTargetPlatformSettings(), TargetPlatformControlsIt));
|
|
}
|
|
}
|
|
|
|
public:
|
|
|
|
// IModuleInterface interface
|
|
|
|
virtual void StartupModule() override
|
|
{
|
|
|
|
}
|
|
|
|
virtual void ShutdownModule() override
|
|
{
|
|
|
|
}
|
|
};
|
|
|
|
|
|
#undef LOCTEXT_NAMESPACE
|
|
|
|
|
|
IMPLEMENT_MODULE( FLinuxTargetPlatformModule, LinuxTargetPlatform);
|