/* * GNU AFFERO GENERAL PUBLIC LICENSE * Version 3, 19 November 2007 * Copyright (C) 2007 Free Software Foundation, Inc. * Everyone is permitted to copy and distribute verbatim copies * of this license document, but changing it is not allowed. */ using UVtools.Core.FileFormats; using UVtools.Core.Operations; namespace UVtools.Core.Scripting; public class ScriptGlobals { /// /// Gets the loaded slicer file /// public FileFormat SlicerFile { get; init; } = null!; /// /// Gets the progress operation for loading bar /// public OperationProgress Progress { get; set; } = new("Unknown"); /// /// Gets the current operation holding the layer range, mask, roi, etc /// public Operation Operation { get; init; } = null!; /// /// Gets the script configuration /// public ScriptConfiguration Script { get; } = new(); }