You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- Removed the function to return a single TP, and wrapped the functionality in a simple single required function (platform just has to add TPs to an array, high level code manages init and cleanup of the array) - Stripped unncessary code from all TPs - Collapsed the desktop targetplatform modules into 1 per platform - Renamed LinuxAArch64NoEditorTargetPlatfortm to LinuxAArch64TargetPlatform to match the other non-editor platforms - Deleted AllDesktopPlatform [CL 13502803 by Josh Adams in ue5-main branch]
28 lines
682 B
C++
28 lines
682 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Modules/ModuleManager.h"
|
|
#include "Interfaces/ITargetPlatformModule.h"
|
|
#include "Common/TargetPlatformBase.h"
|
|
#include "LuminTargetPlatform.h"
|
|
|
|
/**
|
|
* Module for the Android target platform.
|
|
*/
|
|
class FLuminTargetPlatformModule : public ITargetPlatformModule
|
|
{
|
|
public:
|
|
|
|
virtual void GetTargetPlatforms(TArray<ITargetPlatform*>& TargetPlatforms) override
|
|
{
|
|
if (FLuminTargetPlatform::IsUsable())
|
|
{
|
|
TargetPlatforms.Add(new FLuminTargetPlatform(false));
|
|
TargetPlatforms.Add(new FLuminTargetPlatform(true));
|
|
}
|
|
}
|
|
};
|
|
|
|
|
|
IMPLEMENT_MODULE( FLuminTargetPlatformModule, LuminTargetPlatform);
|