Flow.Launcher/Flow.Launcher.Plugin/Feature.cs

37 lines
878 B
C#
Raw Permalink Normal View History

2016-01-06 06:45:08 +00:00
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
2015-11-02 19:27:46 +00:00
2020-04-21 09:12:17 +00:00
namespace Flow.Launcher.Plugin
2015-11-02 19:27:46 +00:00
{
public interface IFeatures { }
public interface IContextMenu : IFeatures
{
List<Result> LoadContextMenus(Result selectedResult);
}
/// <summary>
/// Represent plugins that support internationalization
/// </summary>
public interface IPluginI18n : IFeatures
{
string GetTranslatedPluginTitle();
string GetTranslatedPluginDescription();
}
public interface IResultUpdated : IFeatures
{
event ResultUpdatedEventHandler ResultsUpdated;
}
public delegate void ResultUpdatedEventHandler(IResultUpdated sender, ResultUpdatedEventArgs e);
public class ResultUpdatedEventArgs : EventArgs
{
public List<Result> Results;
public Query Query;
}
2015-11-02 19:27:46 +00:00
}