Add v2ex python plugin demo.

This commit is contained in:
qianlifeng
2014-07-09 23:44:57 +08:00
parent e307524458
commit 5f7c1ea4f4
12 changed files with 63 additions and 129 deletions

View File

@@ -5,8 +5,8 @@ using System.IO;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using Wox.JsonRPC;
using Wox.Plugin;
using Wox.RPC;
namespace Wox.PluginLoader
{
@@ -14,7 +14,7 @@ namespace Wox.PluginLoader
{
protected PluginInitContext context;
public abstract List<string> GetAllowedLanguages();
public abstract string SupportedLanguage { get; }
protected abstract string ExecuteQuery(Query query);
protected abstract string ExecuteAction(JsonRPCRequestModel rpcRequest);