From 14310d247c2588b37ac233ecfd3e50cc75c4595c Mon Sep 17 00:00:00 2001
From: Jack251970 <1160210343@qq.com>
Date: Tue, 1 Jul 2025 21:28:50 +0800
Subject: [PATCH] Add code comments
---
Flow.Launcher/Helper/HotKeyMapper.cs | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/Flow.Launcher/Helper/HotKeyMapper.cs b/Flow.Launcher/Helper/HotKeyMapper.cs
index cebb0f46e..682e1dbc7 100644
--- a/Flow.Launcher/Helper/HotKeyMapper.cs
+++ b/Flow.Launcher/Helper/HotKeyMapper.cs
@@ -16,6 +16,9 @@ using NHotkey.Wpf;
namespace Flow.Launcher.Helper;
+///
+/// Set Flow Launcher global hotkeys & window hotkeys
+///
internal static class HotKeyMapper
{
private static readonly string ClassName = nameof(HotKeyMapper);
@@ -130,6 +133,9 @@ internal static class HotKeyMapper
ChefKeysManager.Stop();
}
+ ///
+ /// Custom Query Hotkeys (Global)
+ ///
internal static void LoadCustomPluginHotkey()
{
if (_settings.CustomPluginHotkeys == null)
@@ -153,6 +159,9 @@ internal static class HotKeyMapper
});
}
+ ///
+ /// Global Plugin Hotkeys (Global)
+ ///
internal static void LoadGlobalPluginHotkey()
{
var pluginHotkeyInfos = PluginManager.GetPluginHotkeyInfo();
@@ -190,6 +199,9 @@ internal static class HotKeyMapper
});
}
+ ///
+ /// Plugin Window Hotkeys (Window)
+ ///
internal static void LoadWindowPluginHotkey()
{
var windowPluginHotkeys = PluginManager.GetWindowPluginHotkeys();