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