2 This file is part of the HandBrake source code.
\r
3 Homepage: <http://handbrake.fr/>.
\r
4 It may be used under the terms of the GNU General Public License. */
\r
6 namespace HandBrake.ApplicationServices.Services.Interfaces
\r
10 using HandBrake.ApplicationServices.Parsing;
\r
13 /// The IScan Interface
\r
15 public interface IScan
\r
18 /// Scan has Started
\r
20 event EventHandler ScanStared;
\r
23 /// Scan has completed
\r
25 event EventHandler ScanCompleted;
\r
28 /// Scan process has changed to a new title
\r
30 event EventHandler ScanStatusChanged;
\r
33 /// Gets a value indicating whether IsScanning.
\r
35 bool IsScanning { get; }
\r
38 /// Gets the Scan Status.
\r
40 string ScanStatus { get; }
\r
43 /// Gets the Souce Data.
\r
45 DVD SouceData { get; }
\r
48 /// Gets ActivityLog.
\r
50 string ActivityLog { get; }
\r
53 /// Scan a Source Path.
\r
54 /// Title 0: scan all
\r
56 /// <param name="sourcePath">Path to the file to scan</param>
\r
57 /// <param name="title">int title number. 0 for scan all</param>
\r
58 void Scan(string sourcePath, int title);
\r