You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
29 lines
872 B
C++
29 lines
872 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "Interfaces/ITargetPlatformModule.h"
|
|
#include "Modules/ModuleManager.h"
|
|
#include "Common/TargetPlatformBase.h"
|
|
|
|
/**
|
|
* Module for iOS as a target platform
|
|
*/
|
|
class FIOSTargetPlatformModule : public ITargetPlatformModule
|
|
{
|
|
public:
|
|
|
|
virtual void GetTargetPlatforms(TArray<ITargetPlatform*>& TargetPlatforms) override
|
|
{
|
|
}
|
|
|
|
virtual void GetTargetPlatforms(TArray<ITargetPlatform*>& TargetPlatforms, TArray<ITargetPlatformSettings*> TargetPlatformSettings, TArray<ITargetPlatformControls*> TargetPlatformControls)
|
|
{
|
|
for (ITargetPlatformControls* TargetPlatformControlsIt : TargetPlatformControls)
|
|
{
|
|
TargetPlatforms.Add(new FTargetPlatformMerged(TargetPlatformControlsIt->GetTargetPlatformSettings(), TargetPlatformControlsIt));
|
|
}
|
|
}
|
|
};
|
|
|
|
|
|
IMPLEMENT_MODULE(FIOSTargetPlatformModule, IOSTargetPlatform);
|