You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
The configuration is driven by a editor platform specific .ini setting. Also, always serve files via a web browser ( python SimpleHTTP Server ) whose life time is attached to the browser device to get around X-origin issues w/ chrome. cook on the fly path remains as such, because we already serve via the cook on the fly web server. #HTML5 #codereview james.moran, peter.sauerbrei [CL 2281792 by Ankit Khare in Main branch]
114 lines
2.0 KiB
C++
114 lines
2.0 KiB
C++
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "HTML5TargetPlatformPrivatePCH.h"
|
|
|
|
/* ITargetDevice interface
|
|
*****************************************************************************/
|
|
|
|
bool FHTML5TargetDevice::Connect( )
|
|
{
|
|
return false;
|
|
}
|
|
|
|
|
|
bool FHTML5TargetDevice::Deploy( const FString& SourceFolder, FString& OutAppId )
|
|
{
|
|
return false;
|
|
}
|
|
|
|
|
|
void FHTML5TargetDevice::Disconnect( )
|
|
{
|
|
}
|
|
|
|
|
|
FTargetDeviceId FHTML5TargetDevice::GetId( ) const
|
|
{
|
|
return FTargetDeviceId(TargetPlatform.PlatformName(), GetName());
|
|
}
|
|
|
|
|
|
FString FHTML5TargetDevice::GetName( ) const
|
|
{
|
|
return Name;
|
|
}
|
|
|
|
|
|
FString FHTML5TargetDevice::GetOperatingSystemName( )
|
|
{
|
|
return TEXT("HTML5 Browser");
|
|
}
|
|
|
|
|
|
int32 FHTML5TargetDevice::GetProcessSnapshot( TArray<FTargetDeviceProcessInfo>& OutProcessInfos )
|
|
{
|
|
return OutProcessInfos.Num();
|
|
}
|
|
|
|
|
|
bool FHTML5TargetDevice::Launch( const FString& AppId, EBuildConfigurations::Type BuildConfiguration, EBuildTargets::Type BuildTarget, const FString& Params, uint32* OutProcessId )
|
|
{
|
|
return Run(AppId, Params, OutProcessId);
|
|
}
|
|
|
|
|
|
bool FHTML5TargetDevice::PowerOff( bool Force )
|
|
{
|
|
return false;
|
|
}
|
|
|
|
|
|
bool FHTML5TargetDevice::PowerOn( )
|
|
{
|
|
return false;
|
|
}
|
|
|
|
|
|
|
|
bool FHTML5TargetDevice::Reboot( bool bReconnect )
|
|
{
|
|
return false;
|
|
}
|
|
|
|
|
|
bool FHTML5TargetDevice::Run( const FString& ExecutablePath, const FString& Params, uint32* OutProcessId )
|
|
{
|
|
return false;
|
|
}
|
|
|
|
|
|
bool FHTML5TargetDevice::SupportsFeature( ETargetDeviceFeatures::Type Feature ) const
|
|
{
|
|
switch (Feature)
|
|
{
|
|
case ETargetDeviceFeatures::MultiLaunch:
|
|
return true;
|
|
|
|
default:
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
bool FHTML5TargetDevice::SupportsSdkVersion( const FString& VersionString ) const
|
|
{
|
|
// @todo filter SDK versions
|
|
|
|
return true;
|
|
}
|
|
|
|
void FHTML5TargetDevice::SetUserCredentials( const FString & UserName, const FString & UserPassword )
|
|
{
|
|
}
|
|
|
|
bool FHTML5TargetDevice::GetUserCredentials( FString & OutUserName, FString & OutUserPassword )
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool FHTML5TargetDevice::TerminateProcess( const int32 ProcessId )
|
|
{
|
|
return false;
|
|
}
|
|
|