2015-01-26 10:22:57 -05:00
|
|
|
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "ITargetPlatformManagerModule.h"
|
2015-02-20 04:41:01 -05:00
|
|
|
#include "EditorStyleSet.h"
|
|
|
|
|
#include "IDetailCustomization.h"
|
|
|
|
|
#include "IPropertyTypeCustomization.h"
|
|
|
|
|
#include "IHTML5TargetPlatformModule.h"
|
2015-01-26 10:22:57 -05:00
|
|
|
#include "HTML5SDKSettings.generated.h"
|
|
|
|
|
|
|
|
|
|
class IHTML5TargetPlatformModule;
|
|
|
|
|
|
|
|
|
|
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"))
|
|
|
|
|
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:
|
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.
|
|
|
|
|
UPROPERTY(GlobalConfig, EditAnywhere, Category = HTML5_Devices, Meta = (DisplayName = "Available browsers"))
|
|
|
|
|
TArray<FHTML5DeviceMapping> DeviceMap;
|
|
|
|
|
|
|
|
|
|
#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;
|
|
|
|
|
};
|