using Nikse.SubtitleEdit.Core.SubtitleFormats; using System.Collections.Generic; using System.Text; namespace Nikse.SubtitleEdit.Core.Forms.FixCommonErrors { public interface IFixCallbacks { bool AllowFix(Paragraph p, string action); void AddFixToListView(Paragraph p, string action, string before, string after); void LogStatus(string sender, string message); void LogStatus(string sender, string message, bool isImportant); void UpdateFixStatus(int fixes, string message, string xMessage); bool IsName(string candidate); HashSet GetAbbreviations(); void AddToTotalErrors(int count); void AddToDeleteIndices(int index); SubtitleFormat Format { get; } Encoding Encoding { get; } string Language { get; } } }