You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
442 B
14 lines
442 B
1 year ago
|
using StabilityMatrix.Core.Models;
|
||
|
using StabilityMatrix.Core.Models.FileInterfaces;
|
||
|
|
||
|
namespace StabilityMatrix.Core.Services;
|
||
|
|
||
|
public interface ITrackedDownloadService
|
||
|
{
|
||
|
event EventHandler<TrackedDownload>? DownloadAdded;
|
||
|
|
||
|
TrackedDownload NewDownload(Uri downloadUrl, FilePath downloadPath);
|
||
|
|
||
|
TrackedDownload NewDownload(string downloadUrl, FilePath downloadPath) => NewDownload(new Uri(downloadUrl), downloadPath);
|
||
|
}
|