diff options
Diffstat (limited to 'win/C#/Functions/Scan.cs')
-rw-r--r-- | win/C#/Functions/Scan.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/win/C#/Functions/Scan.cs b/win/C#/Functions/Scan.cs index 78d158564..8532b353c 100644 --- a/win/C#/Functions/Scan.cs +++ b/win/C#/Functions/Scan.cs @@ -53,6 +53,11 @@ namespace Handbrake.Functions public event EventHandler ScanStatusChanged;
/// <summary>
+ /// Gets or sets a value indicating whether IsScanning.
+ /// </summary>
+ public bool IsScanning { get; set; }
+
+ /// <summary>
/// Scan a Source Path.
/// Title 0: scan all
/// </summary>
@@ -109,6 +114,7 @@ namespace Handbrake.Functions {
try
{
+ IsScanning = true;
if (this.ScanStared != null)
this.ScanStared(this, new EventArgs());
@@ -152,6 +158,7 @@ namespace Handbrake.Functions if (this.ScanCompleted != null)
this.ScanCompleted(this, new EventArgs());
+ IsScanning = false;
}
catch (Exception exc)
{
|