Files
ChanSort/source/ChanSort.Api/Controller/ISerializerPlugin.cs

24 lines
666 B
C#
Raw Permalink Normal View History

2013-03-31 14:09:38 +02:00
namespace ChanSort.Api
{
public interface ISerializerPlugin
{
string DllName { get; set; }
2013-03-31 14:09:38 +02:00
/// <summary>
/// Name of the plugin, as displayed in the OpenFileDialog file-type selection combo box
/// </summary>
string PluginName { get; }
/// <summary>
/// Semicolon separated list of supported file types (e.g. "xxLM*.TTL;xxLV*.TTL")
/// </summary>
string FileFilter { get; }
/// <summary>
/// Create an object that can read/write the file
/// </summary>
/// <exception cref="System.IO.IOException">file is not of any supported type</exception>
SerializerBase CreateSerializer(string inputFile);
}
}