// 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& TargetPlatforms) { } virtual void GetTargetPlatforms(TArray& TargetPlatforms, TArray TargetPlatformSettings, TArray TargetPlatformControls) override { for (ITargetPlatformControls* TargetPlatformControlsIt : TargetPlatformControls) { TargetPlatforms.Add(new FTargetPlatformMerged(TargetPlatformControlsIt->GetTargetPlatformSettings(), TargetPlatformControlsIt)); } } }; IMPLEMENT_MODULE( FAndroidTargetPlatformModule, AndroidTargetPlatform);