mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
MVVM refactoring for web search plugin, part 1
1. #486 2. fix #778 #763 #742 3. MVVM refactoring 4. remove IMultipleActionKeywords interface, use PluginManager directly
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
|
||||
namespace Wox.Plugin
|
||||
{
|
||||
@@ -37,19 +38,6 @@ namespace Wox.Plugin
|
||||
string GetTranslatedPluginDescription();
|
||||
}
|
||||
|
||||
public interface IMultipleActionKeywords : IFeatures
|
||||
{
|
||||
event ActionKeywordsChangedEventHandler ActionKeywordsChanged;
|
||||
}
|
||||
|
||||
public class ActionKeywordsChangedEventArgs : EventArgs
|
||||
{
|
||||
public string OldActionKeyword { get; set; }
|
||||
public string NewActionKeyword { get; set; }
|
||||
}
|
||||
|
||||
public delegate void ActionKeywordsChangedEventHandler(IMultipleActionKeywords sender, ActionKeywordsChangedEventArgs e);
|
||||
|
||||
public interface IResultUpdated : IFeatures
|
||||
{
|
||||
event ResultUpdatedEventHandler ResultsUpdated;
|
||||
|
||||
Reference in New Issue
Block a user