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