Files
UnrealEngineUWP/Engine/Source/Programs/IOS/DeploymentInterface/DeploymentInterface.cs
2014-04-02 18:09:23 -04:00

47 lines
1.3 KiB
C#

/**
* Copyright 1998-2014 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 BackupDocumentsDirectory(string BundleIdentifier, string DestinationDocumentsDirectory);
bool ListApplications();
}
}