using System;
namespace Semmle.Extraction.PowerShell
{
///
/// Callback for various extraction events.
/// (Used for display of progress).
///
public interface IProgressMonitor
{
///
/// Callback that a particular item has been analysed.
///
/// The item number being processed.
/// The total number of items to process.
/// The name of the item, e.g. a source file.
/// The name of the item being output, e.g. a trap file.
/// The time to extract the item.
/// What action was taken for the file.
void Analysed(int item, int total, string source, string output, TimeSpan time, AnalysisAction action);
}
}