2019-02-21 23:41:44 +01:00
|
|
|
|
using System.Collections.Generic;
|
2015-09-19 09:28:36 +02:00
|
|
|
|
using System.Text;
|
2019-02-21 23:41:44 +01:00
|
|
|
|
using Nikse.SubtitleEdit.Core.SubtitleFormats;
|
2015-09-18 22:18:42 +02:00
|
|
|
|
|
2019-02-21 23:41:44 +01:00
|
|
|
|
namespace Nikse.SubtitleEdit.Core.Interfaces
|
2015-09-18 22:18:42 +02:00
|
|
|
|
{
|
2019-02-21 23:41:44 +01:00
|
|
|
|
public interface IFixCallbacks : IDoSpell
|
2015-09-18 22:18:42 +02:00
|
|
|
|
{
|
|
|
|
|
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);
|
2015-09-19 09:28:36 +02:00
|
|
|
|
void UpdateFixStatus(int fixes, string message, string xMessage);
|
|
|
|
|
bool IsName(string candidate);
|
2015-10-07 23:09:37 +02:00
|
|
|
|
HashSet<string> GetAbbreviations();
|
2015-09-19 09:28:36 +02:00
|
|
|
|
void AddToTotalErrors(int count);
|
|
|
|
|
void AddToDeleteIndices(int index);
|
2015-09-18 22:18:42 +02:00
|
|
|
|
SubtitleFormat Format { get; }
|
2015-09-19 09:28:36 +02:00
|
|
|
|
Encoding Encoding { get; }
|
2015-09-18 22:18:42 +02:00
|
|
|
|
string Language { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|