Add browse more plugin and theme link to setting dialog.

This commit is contained in:
qianlifeng
2014-07-16 20:17:51 +08:00
parent 088c3984d8
commit 5c373f0d25
12 changed files with 117 additions and 112 deletions

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Wox.Infrastructure.Storage.UserSettings;
@@ -14,6 +15,19 @@ namespace Wox.Plugin.SystemPlugins
public virtual string Description { get { return "System workflow"; } }
public virtual string IcoPath { get { return null; } }
public string FullIcoPath
{
get
{
if (IcoPath.StartsWith("data:"))
{
return IcoPath;
}
return Path.Combine(PluginDirectory, IcoPath);
}
}
protected abstract List<Result> QueryInternal(Query query);
protected abstract void InitInternal(PluginInitContext context);