Files
UnrealEngineUWP/Engine/Source/Programs/IOS/DeploymentInterface/DeploymentInterface.cs
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

50 lines
1.5 KiB
C#

/**
* Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace iPhonePackager
{
[Serializable]
public struct ConnectedDeviceInfo
{
public string DeviceName;
public string UDID;
public string DeviceType;
public ConnectedDeviceInfo(string DeviceName, string UDID, string DeviceType)
{
this.DeviceName = DeviceName;
this.UDID = UDID;
this.DeviceType = DeviceType;
}
}
public interface DeployTimeReportingInterface
{
void Log(string Line);
void Warning(string Line);
void Error(string Line);
void SetProgressIndex(int Progress);
int GetTransferProgressDivider();
}
public interface DeploymentInterface
{
string DeviceId { get; set; }
void SetReportingInterface(DeployTimeReportingInterface InReporter);
bool UninstallIPAOnDevice(string ApplicationIdentifier);
ConnectedDeviceInfo [] EnumerateConnectedDevices();
bool InstallIPAOnDevice(string IPAPath);
bool InstallFilesOnDevice(string BundleIdentifier, string ManifestFile);
bool CopyFileToDevice(string BundleIdentifier, string SourceFile, string DestFile);
bool BackupDocumentsDirectory(string BundleIdentifier, string DestinationDocumentsDirectory);
bool BackupFiles(string BundleIdentifier, string[] Files);
bool ListApplications();
}
}