Files
cursor-lang/CursorLang.Core/Models/StartupState.cs
T
alex 55ac8e6556 lightweight variant (#1)
Reviewed-on: #1
Co-authored-by: Aleksandr Neychev <alexnejchev73@gmail.com>
2026-08-12 13:37:30 +00:00

31 lines
981 B
C#

namespace CursorLang.Core.Models;
/// <summary>
/// The state of startup. Follows <c>StartupTaskState</c> of Windows: the user and
/// the administrator each have their own way of forbidding startup, and the app has
/// to tell them apart so as not to promise what it cannot do.
/// </summary>
public enum StartupState
{
/// <summary>Windows will not answer about startup — the setting is not shown.</summary>
Unavailable,
/// <summary>Off, and the app can switch it on.</summary>
Disabled,
/// <summary>On.</summary>
Enabled,
/// <summary>
/// Switched off by the user in the settings of Windows. It goes back on only
/// there: a ban by the user is not for the app to overrule.
/// </summary>
DisabledByUser,
/// <summary>Forbidden by the policy of the organisation.</summary>
DisabledByPolicy,
/// <summary>Switched on by the policy of the organisation and not to be switched off.</summary>
EnabledByPolicy,
}