// --------------------------------------------------------------------------------------------------------------------
//
// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
//
//
// Defines the ScanProgressEventArgs type.
//
// --------------------------------------------------------------------------------------------------------------------
namespace HandBrake.ApplicationServices.Interop.EventArgs
{
using System;
///
/// The Scan Progress Event Args
///
public class ScanProgressEventArgs : EventArgs
{
///
/// Initializes a new instance of the class.
///
///
/// The progress.
///
///
/// The current preview.
///
///
/// The previews.
///
///
/// The current title.
///
///
/// The titles.
///
public ScanProgressEventArgs(double progress, int currentPreview, int previews, int currentTitle, int titles)
{
this.Progress = progress;
this.CurrentPreview = currentPreview;
this.Previews = previews;
this.CurrentTitle = currentTitle;
this.Titles = titles;
}
///
/// Gets the total progress fraction for the scan.
///
public double Progress { get; private set; }
///
/// Gets the current preview being processed on the scan.
///
public int CurrentPreview { get; private set; }
///
/// Gets the total number of previews to process.
///
public int Previews { get; private set; }
///
/// Gets the current title being processed on the scan.
///
public int CurrentTitle { get; private set; }
///
/// Gets the total number of titles to process.
///
public int Titles { get; private set; }
}
}