PowerToys/Wox/Commands/BaseCommand.cs

19 lines
397 B
C#
Raw Normal View History

2014-01-06 19:03:20 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
2014-01-29 18:33:24 +08:00
using Wox.Plugin;
2014-01-06 19:03:20 +08:00
2014-01-29 18:33:24 +08:00
namespace Wox.Commands
2014-01-06 19:03:20 +08:00
{
public abstract class BaseCommand
{
public abstract void Dispatch(Query query, bool updateView = true);
2014-01-06 19:03:20 +08:00
protected void UpdateResultView(List<Result> results)
{
App.Window.OnUpdateResultView(results);
2014-01-06 19:03:20 +08:00
}
}
}