Files
cursor-lang/CursorLang/Services/IKeyboardLayoutService.cs
T
2026-08-09 20:02:23 +05:00

22 lines
474 B
C#

using CursorLang.Models;
namespace CursorLang.Services;
/// <summary>
/// Tracks the layout of the active window — including in other applications —
/// and can switch it.
/// </summary>
public interface IKeyboardLayoutService
{
/// <summary>The layout of the active window at the moment.</summary>
KeyboardLayout Current { get; }
event EventHandler<LayoutChangedEventArgs>? LayoutChanged;
void Start();
void Stop();
void SwitchToNext();
}