15 lines
560 B
C#
15 lines
560 B
C#
namespace OF_DL.Services;
|
|
|
|
/// <summary>
|
|
/// Interface for reporting download progress in a UI-agnostic way.
|
|
/// This allows the download service to report progress without being coupled to any specific UI framework.
|
|
/// </summary>
|
|
public interface IProgressReporter
|
|
{
|
|
/// <summary>
|
|
/// Reports progress increment. The value represents either bytes downloaded or file count depending on configuration.
|
|
/// </summary>
|
|
/// <param name="increment">The amount to increment progress by</param>
|
|
void ReportProgress(long increment);
|
|
}
|