added statup with Windows feature

This commit is contained in:
2026-08-09 20:17:43 +05:00
parent bb19306168
commit 0c2f0bd618
4 changed files with 261 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
using CursorLang.Models;
namespace CursorLang.Services;
/// <summary>
/// Starting the app together with Windows.
/// </summary>
public interface IStartupService
{
/// <summary>Finds out the current state of startup.</summary>
Task<StartupState> GetStateAsync();
/// <summary>
/// Asks for startup to be switched on or off and answers with the state that
/// came of it: the request to switch it on may well be turned down.
/// </summary>
Task<StartupState> SetEnabledAsync(bool enabled);
}