diff --git a/FFMpegCore/FFMpeg/Arguments/IArgument.cs b/FFMpegCore/FFMpeg/Arguments/IArgument.cs new file mode 100644 index 0000000..2a6c11a --- /dev/null +++ b/FFMpegCore/FFMpeg/Arguments/IArgument.cs @@ -0,0 +1,10 @@ +namespace FFMpegCore.Arguments +{ + public interface IArgument + { + /// + /// The textual representation of the argument + /// + string Text { get; } + } +} \ No newline at end of file diff --git a/FFMpegCore/FFMpeg/Arguments/IInputArgument.cs b/FFMpegCore/FFMpeg/Arguments/IInputArgument.cs new file mode 100644 index 0000000..81a1cbe --- /dev/null +++ b/FFMpegCore/FFMpeg/Arguments/IInputArgument.cs @@ -0,0 +1,6 @@ +namespace FFMpegCore.Arguments +{ + public interface IInputArgument : IInputOutputArgument + { + } +} \ No newline at end of file diff --git a/FFMpegCore/FFMpeg/Arguments/IInputOutputArgument.cs b/FFMpegCore/FFMpeg/Arguments/IInputOutputArgument.cs new file mode 100644 index 0000000..939cc3f --- /dev/null +++ b/FFMpegCore/FFMpeg/Arguments/IInputOutputArgument.cs @@ -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() {} + } +} \ No newline at end of file diff --git a/FFMpegCore/FFMpeg/Arguments/IOutputArgument.cs b/FFMpegCore/FFMpeg/Arguments/IOutputArgument.cs new file mode 100644 index 0000000..09ccc83 --- /dev/null +++ b/FFMpegCore/FFMpeg/Arguments/IOutputArgument.cs @@ -0,0 +1,6 @@ +namespace FFMpegCore.Arguments +{ + public interface IOutputArgument : IInputOutputArgument + { + } +} \ No newline at end of file