2019-01-02 00:55:51 -05:00
|
|
|
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
|
2015-01-26 10:22:57 -05:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2016-11-23 15:48:37 -05:00
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
#include "UObject/ObjectMacros.h"
|
|
|
|
|
#include "UObject/Object.h"
|
|
|
|
|
#include "Engine/EngineTypes.h"
|
2015-01-26 10:22:57 -05:00
|
|
|
#include "HTML5SDKSettings.generated.h"
|
|
|
|
|
|
|
|
|
|
class IHTML5TargetPlatformModule;
|
2016-11-23 15:48:37 -05:00
|
|
|
class ITargetPlatformManagerModule;
|
2015-01-26 10:22:57 -05:00
|
|
|
|
|
|
|
|
USTRUCT()
|
|
|
|
|
struct FHTML5DeviceMapping
|
|
|
|
|
{
|
2015-03-17 05:38:32 -04:00
|
|
|
GENERATED_USTRUCT_BODY()
|
2015-01-26 10:22:57 -05:00
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere, Category = HTML5_Devices, Meta = (DisplayName = "Browser name"))
|
2017-04-06 16:13:17 -04:00
|
|
|
FString BrowserName;
|
2015-01-26 10:22:57 -05:00
|
|
|
|
|
|
|
|
UPROPERTY(EditAnywhere, Category = HTML5_Devices, Meta = (DisplayName = "Browser filepath"))
|
2017-04-06 16:13:17 -04:00
|
|
|
FFilePath BrowserPath;
|
2015-01-26 10:22:57 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Implements the settings for the HTML5 SDK setup.
|
|
|
|
|
*/
|
|
|
|
|
UCLASS(config=Engine, globaluserconfig)
|
|
|
|
|
class HTML5PLATFORMEDITOR_API UHTML5SDKSettings : public UObject
|
|
|
|
|
{
|
|
|
|
|
public:
|
2015-03-17 05:38:32 -04:00
|
|
|
GENERATED_UCLASS_BODY()
|
2015-01-26 10:22:57 -05:00
|
|
|
|
|
|
|
|
// Available browsers that can be used when launching HTML5 builds.
|
2017-04-06 16:13:17 -04:00
|
|
|
TArray<FHTML5DeviceMapping> BrowserLauncher;
|
2015-01-26 10:22:57 -05:00
|
|
|
|
|
|
|
|
#if WITH_EDITOR
|
2015-07-04 18:45:54 -04:00
|
|
|
|
2015-01-26 10:22:57 -05:00
|
|
|
// UObject interface
|
|
|
|
|
virtual void PostEditChangeProperty(struct FPropertyChangedEvent& PropertyChangedEvent) override;
|
|
|
|
|
// End of UObject interface
|
2015-02-20 04:41:01 -05:00
|
|
|
ITargetPlatformManagerModule * TargetManagerModule;
|
2015-01-26 10:22:57 -05:00
|
|
|
#endif
|
|
|
|
|
private:
|
|
|
|
|
IHTML5TargetPlatformModule* TargetPlatformModule;
|
|
|
|
|
};
|