/* 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.EventArgs;
using HandBrake.ApplicationServices.Parsing;
///
/// Encode Progess Status
///
///
/// The sender.
///
///
/// The EncodeProgressEventArgs.
///
public delegate void ScanProgessStatus(object sender, ScanProgressEventArgs e);
///
/// Encode Progess Status
///
///
/// The sender.
///
///
/// The ScanCompletedEventArgs.
///
public delegate void ScanCompletedStatus(object sender, ScanCompletedEventArgs e);
///
/// The IScan Interface
///
public interface IScan
{
///
/// Scan has Started
///
event EventHandler ScanStared;
///
/// Scan has completed
///
event ScanCompletedStatus ScanCompleted;
///
/// Scan process has changed to a new title
///
event ScanProgessStatus ScanStatusChanged;
///
/// Gets a value indicating whether IsScanning.
///
bool IsScanning { get; }
///
/// Gets the Souce Data.
///
Source 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
///
///
/// The preview Count.
///
void Scan(string sourcePath, int title, int previewCount);
///
/// Kill the scan
///
void Stop();
}
}