diff options
Diffstat (limited to 'UVtools.Core/Scripting/ScriptConfiguration.cs')
-rw-r--r-- | UVtools.Core/Scripting/ScriptConfiguration.cs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/UVtools.Core/Scripting/ScriptConfiguration.cs b/UVtools.Core/Scripting/ScriptConfiguration.cs new file mode 100644 index 0000000..321c49c --- /dev/null +++ b/UVtools.Core/Scripting/ScriptConfiguration.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; + +namespace UVtools.Core.Scripting +{ + public sealed class ScriptConfiguration + { + /// <summary> + /// Gets the script name + /// </summary> + public string Name { get; set; } = "Unnamed script"; + + /// <summary> + /// Gets the script description of what it does + /// </summary> + public string Description { get; set; } = "I don't know my purpose, do not run me!"; + + /// <summary> + /// Gets the script author name + /// </summary> + public string Author { get; set; } = "Undefined"; + + /// <summary> + /// Gets the script version + /// </summary> + public Version Version { get; set; } = new(0, 1); + + /// <summary> + /// List of user inputs to show on GUI for configuration of the script + /// </summary> + public List<ScriptBaseInput> UserInputs { get; } = new(); + } +} |