You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Android SDK path backslash duplication fix. Fix for User inis not saving array properties correctly. #codereview Ankit.Khare, Josh.Adams [CL 2418611 by James Moran in Main branch]
50 lines
1.5 KiB
C++
50 lines
1.5 KiB
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "ITargetPlatformManagerModule.h"
|
|
#include "HTML5SDKSettings.generated.h"
|
|
|
|
class IHTML5TargetPlatformModule;
|
|
|
|
USTRUCT()
|
|
struct FHTML5DeviceMapping
|
|
{
|
|
GENERATED_USTRUCT_BODY()
|
|
|
|
UPROPERTY(EditAnywhere, Category = HTML5_Devices, Meta = (DisplayName = "Browser name"))
|
|
FString DeviceName;
|
|
|
|
UPROPERTY(EditAnywhere, Category = HTML5_Devices, Meta = (DisplayName = "Browser filepath"))
|
|
FFilePath DevicePath;
|
|
};
|
|
|
|
/**
|
|
* Implements the settings for the HTML5 SDK setup.
|
|
*/
|
|
UCLASS(config=Engine, globaluserconfig)
|
|
class HTML5PLATFORMEDITOR_API UHTML5SDKSettings : public UObject
|
|
{
|
|
public:
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
UPROPERTY(GlobalConfig, EditAnywhere, Category = HTML5_SDK_Paths, Meta = (DisplayName = "Location of Emscripten SDK (This directory contains 'emcc')"))
|
|
FDirectoryPath Emscripten;
|
|
|
|
UPROPERTY(GlobalConfig, EditAnywhere, Category = HTML5_SDK_Paths, Meta = (DisplayName = "Location of Python exe (This can be blank if python is on the PATH)"))
|
|
FFilePath Python;
|
|
|
|
// Available browsers that can be used when launching HTML5 builds.
|
|
UPROPERTY(GlobalConfig, EditAnywhere, Category = HTML5_Devices, Meta = (DisplayName = "Available browsers"))
|
|
TArray<FHTML5DeviceMapping> DeviceMap;
|
|
|
|
#if WITH_EDITOR
|
|
// UObject interface
|
|
virtual void PostEditChangeProperty(struct FPropertyChangedEvent& PropertyChangedEvent) override;
|
|
// End of UObject interface
|
|
void QueryKnownBrowserLocations();
|
|
#endif
|
|
private:
|
|
IHTML5TargetPlatformModule* TargetPlatformModule;
|
|
};
|