moved to MVVM architecture

This commit is contained in:
2026-08-08 21:24:02 +05:00
parent a1ff8cc923
commit 3d614255d8
19 changed files with 565 additions and 346 deletions
@@ -0,0 +1,18 @@
using CursorLang.Models;
namespace CursorLang.Services;
/// <summary>
/// Следит за раскладкой активного окна — в том числе в чужих приложениях.
/// </summary>
public interface IKeyboardLayoutService
{
/// <summary>Раскладка активного окна на текущий момент.</summary>
KeyboardLayout Current { get; }
event EventHandler<LayoutChangedEventArgs>? LayoutChanged;
void Start();
void Stop();
}