Files
UnrealEngineUWP/Engine/Source/Developer/HTML5/HTML5PlatformEditor/Private/HTML5SDKSettings.h
Chris Gagnon 8fc25ea18e Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 4676797 by Chris Gagnon in Dev-Editor branch]
2019-01-02 14:54:39 -05:00

48 lines
1.2 KiB
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/Object.h"
#include "Engine/EngineTypes.h"
#include "HTML5SDKSettings.generated.h"
class IHTML5TargetPlatformModule;
class ITargetPlatformManagerModule;
USTRUCT()
struct FHTML5DeviceMapping
{
GENERATED_USTRUCT_BODY()
UPROPERTY(EditAnywhere, Category = HTML5_Devices, Meta = (DisplayName = "Browser name"))
FString BrowserName;
UPROPERTY(EditAnywhere, Category = HTML5_Devices, Meta = (DisplayName = "Browser filepath"))
FFilePath BrowserPath;
};
/**
* Implements the settings for the HTML5 SDK setup.
*/
UCLASS(config=Engine, globaluserconfig)
class HTML5PLATFORMEDITOR_API UHTML5SDKSettings : public UObject
{
public:
GENERATED_UCLASS_BODY()
// Available browsers that can be used when launching HTML5 builds.
TArray<FHTML5DeviceMapping> BrowserLauncher;
#if WITH_EDITOR
// UObject interface
virtual void PostEditChangeProperty(struct FPropertyChangedEvent& PropertyChangedEvent) override;
// End of UObject interface
ITargetPlatformManagerModule * TargetManagerModule;
#endif
private:
IHTML5TargetPlatformModule* TargetPlatformModule;
};