/* * 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 System.Collections.Generic; namespace UVtools.Core.Scripting { public abstract class ScriptFileDialogInput : ScriptBaseInput { public class ScriptFileDialogFilter { public string Name { get; set; } public List Extensions { get; set; } = new(); } /// /// Gets or sets the title for the dialog /// public string Title { get; set; } /// /// Gets or sets the default directory to open the dialog in /// public string Directory { get; set; } /// /// Gets or sets the initial filename to be on the dialog /// public string InitialFilename { get; set; } /// /// Gets or sets the file filters on the dropdown list /// public List Filters { get; set; } } }