SubtitleEdit/libse/Interfaces/IFixCallbacks.cs
2016-04-30 03:19:47 +01:00

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; }
}
}