using System.Collections.Generic; using System; namespace Wox.Plugin { public interface IFeatures { } public interface IContextMenu : IFeatures { List LoadContextMenus(Result selectedResult); } public interface IExclusiveQuery : IFeatures { bool IsExclusiveQuery(Query query); } /// /// Represent plugin query will be executed in UI thread directly. Don't do long-running operation in Query method if you implement this interface /// This will improve the performance of instant search like websearch or cmd plugin /// public interface IInstantQuery : IFeatures { [Obsolete("Empty interface is enough. it will be removed in v1.3.0 and possibly replaced by attribute")] bool IsInstantQuery(string query); } /// /// Represent plugins that support internationalization /// public interface IPluginI18n : IFeatures { string GetLanguagesFolder(); string GetTranslatedPluginTitle(); string GetTranslatedPluginDescription(); } }