summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services/Interfaces/IDriveDetectService.cs
blob: 16ef42a4fad67b9a9890d5a77e7c76da469c86ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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();
    }
}