summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/Interfaces
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-07-14 12:09:06 +0000
committersr55 <[email protected]>2012-07-14 12:09:06 +0000
commite2432168fed60439aa461284e01af142829450ec (patch)
tree846d4f0c61f86aab02d20d77e3b10050bdc01bd3 /win/CS/HandBrakeWPF/Services/Interfaces
parent2425840702b5e319165384f73a51874349ee6d84 (diff)
WinGui: Working drive tray insert/remove detection.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4829 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Interfaces')
-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