From 2259d742f8d6d685f090538d95a7cd41909819eb Mon Sep 17 00:00:00 2001
From: Jack251970 <1160210343@qq.com>
Date: Wed, 2 Jul 2025 12:59:19 +0800
Subject: [PATCH] Add registered type, type, command, command parameter for
RegisteredHotkeyData
---
.../Hotkey/RegisteredHotkeyData.cs | 181 +++++++++++++++++-
1 file changed, 178 insertions(+), 3 deletions(-)
diff --git a/Flow.Launcher.Infrastructure/Hotkey/RegisteredHotkeyData.cs b/Flow.Launcher.Infrastructure/Hotkey/RegisteredHotkeyData.cs
index 54df72c70..b34974e48 100644
--- a/Flow.Launcher.Infrastructure/Hotkey/RegisteredHotkeyData.cs
+++ b/Flow.Launcher.Infrastructure/Hotkey/RegisteredHotkeyData.cs
@@ -1,4 +1,6 @@
using System;
+using System.Windows.Input;
+using Flow.Launcher.Plugin;
namespace Flow.Launcher.Infrastructure.Hotkey;
@@ -11,6 +13,16 @@ namespace Flow.Launcher.Infrastructure.Hotkey;
///
public class RegisteredHotkeyData : BaseModel
{
+ ///
+ /// Type of this hotkey in the context of the application.
+ ///
+ public RegisteredHotkeyType RegisteredType { get; }
+
+ ///
+ /// Type of this hotkey.
+ ///
+ public HotkeyType Type { get; }
+
///
/// representation of this hotkey.
///
@@ -40,6 +52,16 @@ public class RegisteredHotkeyData : BaseModel
///
public object?[] DescriptionFormatVariables { get; } = Array.Empty