mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
23 lines
828 B
C#
23 lines
828 B
C#
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<string> GetAbbreviations();
|
|
void AddToTotalErrors(int count);
|
|
void AddToDeleteIndices(int index);
|
|
SubtitleFormat Format { get; }
|
|
Encoding Encoding { get; }
|
|
string Language { get; }
|
|
}
|
|
}
|