Add HackerNews python plugin as the Demo.

This commit is contained in:
qianlifeng
2014-07-10 18:39:04 +08:00
parent 5f7c1ea4f4
commit d89968cfa5
12 changed files with 76 additions and 53 deletions

10
Wox.Plugin/HttpProxy.cs Normal file
View File

@@ -0,0 +1,10 @@
namespace Wox.Plugin
{
public class HttpProxy
{
public string Address { get; set; }
public int Port { get; set; }
public string UserName { get; set; }
public string Password { get; set; }
}
}

View File

@@ -14,6 +14,8 @@ namespace Wox.Plugin
/// </summary>
public IPublicAPI API { get; set; }
public HttpProxy Proxy { get; set; }
#region Legacy APIs
[Obsolete("This method has been obsoleted, use API.ShellRun instead")]

View File

@@ -9,6 +9,5 @@ namespace Wox.Plugin
{
public IPlugin Plugin { get; set; }
public PluginMetadata Metadata { get; set; }
public PluginInitContext InitContext { get; set; }
}
}

View File

@@ -45,6 +45,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="AllowedLanguage.cs" />
<Compile Include="HttpProxy.cs" />
<Compile Include="IPlugin.cs" />
<Compile Include="IPublicAPI.cs" />
<Compile Include="ISettingProvider.cs" />