mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
Refactoring FolderLink and URL plugin.
This commit is contained in:
16
Wox.Plugin/EventHandler.cs
Normal file
16
Wox.Plugin/EventHandler.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Wox.Plugin
|
||||
{
|
||||
public delegate void WoxKeyDownEventHandler(object sender, WoxKeyDownEventArgs e);
|
||||
|
||||
public class WoxKeyDownEventArgs
|
||||
{
|
||||
public string Query { get; set; }
|
||||
public KeyEventArgs keyEventArgs { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -32,5 +32,7 @@ namespace Wox.Plugin
|
||||
void ReloadPlugins();
|
||||
|
||||
List<PluginPair> GetAllPlugins();
|
||||
|
||||
event WoxKeyDownEventHandler BackKeyDownEvent;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AllowedLanguage.cs" />
|
||||
<Compile Include="EventHandler.cs" />
|
||||
<Compile Include="IHttpProxy.cs" />
|
||||
<Compile Include="IPlugin.cs" />
|
||||
<Compile Include="IPublicAPI.cs" />
|
||||
|
||||
Reference in New Issue
Block a user