mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
Add Executable Plugin Loader
This commit is contained in:
38
Wox.Plugin/IPublicAPI.cs
Normal file
38
Wox.Plugin/IPublicAPI.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Documents;
|
||||
|
||||
namespace Wox.Plugin
|
||||
{
|
||||
public interface IPublicAPI
|
||||
{
|
||||
|
||||
void PushResults(Query query,PluginMetadata plugin, List<Result> results);
|
||||
|
||||
bool ShellRun(string cmd);
|
||||
|
||||
void ChangeQuery(string query, bool requery = false);
|
||||
|
||||
void CloseApp();
|
||||
|
||||
void HideApp();
|
||||
|
||||
void ShowApp();
|
||||
|
||||
void ShowMsg(string title, string subTitle, string iconPath);
|
||||
|
||||
void OpenSettingDialog();
|
||||
|
||||
void ShowCurrentResultItemTooltip(string tooltip);
|
||||
|
||||
void StartLoadingBar();
|
||||
|
||||
void StopLoadingBar();
|
||||
|
||||
void InstallPlugin(string path);
|
||||
|
||||
void ReloadPlugins();
|
||||
|
||||
List<PluginPair> GetAllPlugins();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user