Move to separate files

Former-commit-id: 01d4474595
This commit is contained in:
Malte Rosenbjerg 2020-06-18 21:37:12 +02:00
parent 4f3d2c1fda
commit c3a2104d84

View file

@ -1,8 +1,6 @@
using System;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace FFMpegCore.Arguments
{
@ -38,26 +36,4 @@ public void Pre()
public string Text => string.Join(" ", FilePaths.Select(v => $"-i \"{v}\""));
}
public interface IArgument
{
/// <summary>
/// The textual representation of the argument
/// </summary>
string Text { get; }
}
public interface IInputOutputArgument : IArgument
{
void Pre() {}
Task During(CancellationToken? cancellationToken = null) => Task.CompletedTask;
void Post() {}
}
public interface IInputArgument : IInputOutputArgument
{
}
public interface IOutputArgument : IInputOutputArgument
{
}
}