// Copyright (C) 2024 Intro-Skipper contributors // SPDX-License-Identifier: GPL-3.0-only. namespace IntroSkipper.Configuration; /// /// User interface configuration. /// /// /// Initializes a new instance of the class. /// /// Skip button visibility. /// Skip button intro text. /// Skip button end credits text. /// Auto Skip Intro. /// Auto Skip Credits. /// Auto Skip Clients. public class UserInterfaceConfiguration(bool visible, string introText, string creditsText, bool autoSkip, bool autoSkipCredits, string clientList) { /// /// Gets or sets a value indicating whether to show the skip intro button. /// public bool SkipButtonVisible { get; set; } = visible; /// /// Gets or sets the text to display in the skip intro button in introduction mode. /// public string SkipButtonIntroText { get; set; } = introText; /// /// Gets or sets the text to display in the skip intro button in end credits mode. /// public string SkipButtonEndCreditsText { get; set; } = creditsText; /// /// Gets or sets a value indicating whether auto skip intro. /// public bool AutoSkip { get; set; } = autoSkip; /// /// Gets or sets a value indicating whether auto skip credits. /// public bool AutoSkipCredits { get; set; } = autoSkipCredits; /// /// Gets or sets a value indicating clients to auto skip for. /// public string ClientList { get; set; } = clientList; }