mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-03-06 20:20:43 +01:00
- moved all files to a "source" subdirectory to tidy up the GitHub project page
- started to write a readme.md
This commit is contained in:
21
source/ChanSort.Api/Controller/ISerializerPlugin.cs
Normal file
21
source/ChanSort.Api/Controller/ISerializerPlugin.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace ChanSort.Api
|
||||
{
|
||||
public interface ISerializerPlugin
|
||||
{
|
||||
/// <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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user