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.
13 lines
442 B
13 lines
442 B
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); |
|
}
|
|
|