Use events for messages from MediaScan.

This commit is contained in:
2019-04-21 00:51:55 +01:00
parent 9052ea80f4
commit 359efb369c
7 changed files with 113 additions and 57 deletions

View File

@@ -30,12 +30,14 @@
// Copyright © 2011-2019 Natalia Portillo
// ****************************************************************************/
using System;
namespace DiscImageChef.Core.Devices.Scanning
{
public partial class MediaScan
{
public ScanResults Nvme() => throw new NotImplementedException("NVMe devices not yet supported.");
public ScanResults Nvme()
{
StoppingErrorMessage?.Invoke("NVMe devices not yet supported.");
return default;
}
}
}