Added type-safe argument passing to the runner. Added taskID's so the restore dialog can keep track of what tasks it needs to monitor.
33 lines
886 B
C#
33 lines
886 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Duplicati.Server.Serialization.Interface
|
|
{
|
|
public interface IProgressEventData
|
|
{
|
|
string BackupID { get; }
|
|
long TaskID { get; }
|
|
|
|
string BackendAction { get; }
|
|
string BackendPath { get; }
|
|
long BackendFileSize { get; }
|
|
long BackendFileProgress { get; }
|
|
long BackendSpeed { get; }
|
|
|
|
string CurrentFilename { get; }
|
|
long CurrentFilesize { get; }
|
|
long CurrentFileoffset { get; }
|
|
|
|
string Phase { get; }
|
|
float OverallProgress { get; }
|
|
long ProcessedFileCount { get; }
|
|
long ProcessedFileSize { get; }
|
|
long TotalFileCount { get; }
|
|
long TotalFileSize { get; }
|
|
bool StillCounting { get; }
|
|
|
|
}
|
|
}
|