Move to separate files

Former-commit-id: 552b5d811a
This commit is contained in:
Malte Rosenbjerg 2020-06-18 21:36:59 +02:00
parent e1422c94c8
commit 4f3d2c1fda
4 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,10 @@
namespace FFMpegCore.Arguments
{
public interface IArgument
{
/// <summary>
/// The textual representation of the argument
/// </summary>
string Text { get; }
}
}

View file

@ -0,0 +1,6 @@
namespace FFMpegCore.Arguments
{
public interface IInputArgument : IInputOutputArgument
{
}
}

View file

@ -0,0 +1,12 @@
using System.Threading;
using System.Threading.Tasks;
namespace FFMpegCore.Arguments
{
public interface IInputOutputArgument : IArgument
{
void Pre() {}
Task During(CancellationToken? cancellationToken = null) => Task.CompletedTask;
void Post() {}
}
}

View file

@ -0,0 +1,6 @@
namespace FFMpegCore.Arguments
{
public interface IOutputArgument : IInputOutputArgument
{
}
}