1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00
Artemis/src/Artemis.UI.Shared/Providers/IAutoRunProvider.cs
Robert f6090dc296 Code style - Use file scoped namespaces
Code style - Ran code cleanup
2022-08-21 11:36:15 +02:00

24 lines
733 B
C#

using System.Threading.Tasks;
namespace Artemis.UI.Shared.Providers;
/// <summary>
/// Represents a provider for custom cursors.
/// </summary>
public interface IAutoRunProvider
{
/// <summary>
/// Asynchronously enables auto-run.
/// </summary>
/// <param name="recreate">
/// A boolean indicating whether the auto-run configuration should be recreated (the auto run delay
/// changed)
/// </param>
/// <param name="autoRunDelay">The delay in seconds before the application should start (if supported)</param>
Task EnableAutoRun(bool recreate, int autoRunDelay);
/// <summary>
/// Asynchronously disables auto-run.
/// </summary>
Task DisableAutoRun();
}