You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
TPS doesn't need SDK and will be used to get info about the platform TPC requires SDK AndroidTP has been converted to the new system #jira UE-200883 #rb Jack.Porter [CL 30963885 by florin pascu in ue5-main branch]
33 lines
1.1 KiB
C++
33 lines
1.1 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Modules/ModuleManager.h"
|
|
#include "Android/AndroidPlatformProperties.h"
|
|
#include "Interfaces/ITargetPlatformModule.h"
|
|
#include "Common/TargetPlatformBase.h"
|
|
#include "Interfaces/IAndroidDeviceDetection.h"
|
|
#include "Interfaces/IAndroidDeviceDetectionModule.h"
|
|
#include "IAndroidTargetPlatformModule.h"
|
|
|
|
/**
|
|
* Module for the Android target platform.
|
|
*/
|
|
class FAndroidTargetPlatformModule : 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));
|
|
}
|
|
}
|
|
};
|
|
|
|
IMPLEMENT_MODULE( FAndroidTargetPlatformModule, AndroidTargetPlatform);
|