/* IScan.cs $
This file is part of the HandBrake source code.
Homepage: .
It may be used under the terms of the GNU General Public License. */
namespace HandBrake.ApplicationServices.Services.Interfaces
{
using System;
using HandBrake.ApplicationServices.Parsing;
///
/// The IScan Interface
///
public interface IScan
{
///
/// Scan has Started
///
event EventHandler ScanStared;
///
/// Scan has completed
///
event EventHandler ScanCompleted;
///
/// Scan process has changed to a new title
///
event EventHandler ScanStatusChanged;
///
/// Gets a value indicating whether IsScanning.
///
bool IsScanning { get; }
///
/// Gets the Scan Status.
///
string ScanStatus { get; }
///
/// Gets the Souce Data.
///
DVD SouceData { get; }
///
/// Gets ActivityLog.
///
string ActivityLog { get; }
///
/// Scan a Source Path.
/// Title 0: scan all
///
/// Path to the file to scan
/// int title number. 0 for scan all
void Scan(string sourcePath, int title);
///
/// Kill the scan
///
void Stop();
}
}