//
// ITakeControlCommand.cs
//
// Copyright (c) František Boháček. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace NosSmooth.Core.Commands.Control;
///
/// Represents command that supports taking control. See .
///
public interface ITakeControlCommand : ICommand
{
///
/// Gets whether the command may be cancelled by another task within the same group.
///
bool CanBeCancelledByAnother { get; }
///
/// Gets whether to wait for finish of the previous task.
///
bool WaitForCancellation { get; }
///
/// Gets whether to allow the user to cancel by taking any walk/focus/unfollow action.
///
bool AllowUserCancel { get; }
///
/// Gets whether the command should be cancelled on map change.
///
bool CancelOnMapChange { get; }
}