summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/Interfaces/IDriveDetectService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Interfaces/IDriveDetectService.cs')
-rw-r--r--win/CS/HandBrakeWPF/Services/Interfaces/IDriveDetectService.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Interfaces/IDriveDetectService.cs b/win/CS/HandBrakeWPF/Services/Interfaces/IDriveDetectService.cs
new file mode 100644
index 000000000..16ef42a4f
--- /dev/null
+++ b/win/CS/HandBrakeWPF/Services/Interfaces/IDriveDetectService.cs
@@ -0,0 +1,32 @@
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="IDriveDetectService.cs" company="HandBrake Project (http://handbrake.fr)">
+// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
+// </copyright>
+// <summary>
+// Defines the IDriveDetectService type.
+// </summary>
+// --------------------------------------------------------------------------------------------------------------------
+
+namespace HandBrakeWPF.Services.Interfaces
+{
+ using System;
+
+ /// <summary>
+ /// The DriveDetectService interface.
+ /// </summary>
+ public interface IDriveDetectService
+ {
+ /// <summary>
+ /// The start detection.
+ /// </summary>
+ /// <param name="action">
+ /// The detection Action.
+ /// </param>
+ void StartDetection(Action action);
+
+ /// <summary>
+ /// Stop the watcher. Must be done before the app shuts down.
+ /// </summary>
+ void Close();
+ }
+} \ No newline at end of file