mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Move to separate files
This commit is contained in:
parent
552b5d811a
commit
01d4474595
1 changed files with 0 additions and 24 deletions
|
@ -1,8 +1,6 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace FFMpegCore.Arguments
|
namespace FFMpegCore.Arguments
|
||||||
{
|
{
|
||||||
|
@ -38,26 +36,4 @@ public void Pre()
|
||||||
|
|
||||||
public string Text => string.Join(" ", FilePaths.Select(v => $"-i \"{v}\""));
|
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
|
|
||||||
{
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue