PowerToys/Wox.Plugin/IPublicAPI.cs

37 lines
699 B
C#
Raw Normal View History

2014-07-05 23:10:34 +08:00
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 StartLoadingBar();
void StopLoadingBar();
void InstallPlugin(string path);
void ReloadPlugins();
List<PluginPair> GetAllPlugins();
}
}