Refactoring FolderLink and URL plugin.

This commit is contained in:
qianlifeng
2014-07-19 10:12:11 +08:00
parent f1697313c0
commit fc66fba577
10 changed files with 231 additions and 169 deletions

View 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; }
}
}

View File

@@ -32,5 +32,7 @@ namespace Wox.Plugin
void ReloadPlugins();
List<PluginPair> GetAllPlugins();
event WoxKeyDownEventHandler BackKeyDownEvent;
}
}

View File

@@ -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" />