diff --git a/OSCADSharp/OSCADSharp/OSCADSharp.csproj b/OSCADSharp/OSCADSharp/OSCADSharp.csproj index 1b7c5b0..83d93cc 100644 --- a/OSCADSharp/OSCADSharp/OSCADSharp.csproj +++ b/OSCADSharp/OSCADSharp/OSCADSharp.csproj @@ -43,6 +43,7 @@ + diff --git a/OSCADSharp/OSCADSharp/Scripting/IFileInvoker.cs b/OSCADSharp/OSCADSharp/Scripting/IFileInvoker.cs new file mode 100644 index 0000000..52ee115 --- /dev/null +++ b/OSCADSharp/OSCADSharp/Scripting/IFileInvoker.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace OSCADSharp.Scripting +{ + /// + /// Opens a file + /// + public interface IFileInvoker + { + /// + /// Opens the specified file + /// + /// Path to the file to open + /// Command-line arguments to pass in + void Invoke(string path, string arguments = null); + } +}