mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
Add IExclusivePlugin
This commit is contained in:
@@ -5,8 +5,8 @@ using System.Text;
|
||||
|
||||
namespace Wox.Plugin.Features
|
||||
{
|
||||
public interface IExclusiveSearch
|
||||
public interface IExclusiveQuery
|
||||
{
|
||||
bool IsExclusiveSearch(Query query);
|
||||
bool IsExclusiveQuery(Query query);
|
||||
}
|
||||
}
|
||||
7
Wox.Plugin/Features/IInstantQuery.cs
Normal file
7
Wox.Plugin/Features/IInstantQuery.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Wox.Plugin.Features
|
||||
{
|
||||
public interface IInstantQuery
|
||||
{
|
||||
bool IsInstantQuery(string query);
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Wox.Plugin.Features;
|
||||
|
||||
namespace Wox.Plugin
|
||||
{
|
||||
public interface IInstantSearch
|
||||
{
|
||||
bool IsInstantSearch(string query);
|
||||
}
|
||||
}
|
||||
@@ -24,10 +24,10 @@ namespace Wox.Plugin
|
||||
}
|
||||
|
||||
public string ExecuteFileName { get; set; }
|
||||
|
||||
public string PluginDirectory { get; set; }
|
||||
|
||||
public string ActionKeyword { get; set; }
|
||||
public PluginType PluginType { get; set; }
|
||||
|
||||
public string IcoPath { get; set; }
|
||||
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Wox.Plugin
|
||||
{
|
||||
public enum PluginType
|
||||
{
|
||||
System,
|
||||
User
|
||||
}
|
||||
}
|
||||
@@ -46,8 +46,8 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="AllowedLanguage.cs" />
|
||||
<Compile Include="EventHandler.cs" />
|
||||
<Compile Include="Features\IExclusiveSearch.cs" />
|
||||
<Compile Include="IInstantSearch.cs" />
|
||||
<Compile Include="Features\IExclusiveQuery.cs" />
|
||||
<Compile Include="Features\IInstantQuery.cs" />
|
||||
<Compile Include="IHttpProxy.cs" />
|
||||
<Compile Include="IPluginI18n.cs" />
|
||||
<Compile Include="IPlugin.cs" />
|
||||
@@ -56,7 +56,6 @@
|
||||
<Compile Include="PluginPair.cs" />
|
||||
<Compile Include="PluginInitContext.cs" />
|
||||
<Compile Include="PluginMetadata.cs" />
|
||||
<Compile Include="PluginType.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Query.cs" />
|
||||
<Compile Include="Result.cs" />
|
||||
|
||||
Reference in New Issue
Block a user