31 lines
981 B
C#
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,
|
|
}
|