blob: 15bd06270508f8bdeef40eeb845c328e3bf80cca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
/*
* GNU AFFERO GENERAL PUBLIC LICENSE
* Version 3, 19 November 2007
* Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
* 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
{
/// <summary>
/// Gets the loaded slicer file
/// </summary>
public FileFormat SlicerFile { get; init; }
/// <summary>
/// Gets the progress operation for loading bar
/// </summary>
public OperationProgress Progress { get; set; } = new("Unknown");
/// <summary>
/// Gets the current operation holding the layer range, mask, roi, etc
/// </summary>
public Operation Operation { get; init; }
/// <summary>
/// Gets the script configuration
/// </summary>
public ScriptConfiguration Script { get; } = new();
}
}
|