mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-11 07:15:31 +03:00
18 lines
427 B
C#
18 lines
427 B
C#
namespace NAPS2.EtoForms.Notifications;
|
|
|
|
public class ProgressNotification : NotificationModel
|
|
{
|
|
public ProgressNotification(OperationProgress progress, IOperation op)
|
|
{
|
|
Progress = progress;
|
|
Op = op;
|
|
}
|
|
|
|
public OperationProgress Progress { get; }
|
|
public IOperation Op { get; }
|
|
|
|
public override NotificationView CreateView()
|
|
{
|
|
return new ProgressNotificationView(this);
|
|
}
|
|
} |